Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/Recast.cpp |
void rcCalcGridSize
(
const float * bmin,
const float * bmax,
float cs,
int * w,
int * h
)
Calculates the grid size based on the bounding box and grid cell size.
Parameter |
Description |
---|---|
bmin |
The minimum bounds of the AABB. [(x, y, z)] [Units: wu] |
bmax |
The maximum bounds of the AABB. [(x, y, z)] [Units: wu] |
cs |
The xz-plane cell size. [Limit: > 0] [Units: wu] |
w |
The width along the x-axis. [Limit: >= 0] [Units: vx] |
h |
The height along the z-axis. [Limit: >= 0] [Units: vx] |