Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Recast
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/Recast.cpp |
void rcCalcBounds
(
const rcReal * verts,
int nv,
rcReal * bmin,
rcReal * bmax
)
Remarks
Calculates the bounding box of an array of vertices.
Parameters
| Name | Description |
|---|---|
| verts | An array of vertices. [(x, y, z) * nv] |
| nv | The number of vertices in the verts array. |
| bmin | The minimum bounds of the AABB. [(x, y, z)] [Units: wu] |
| bmax | The maximum bounds of the AABB. [(x, y, z)] [Units: wu] |