Recast Navigation
1.0.35
|
Go to the source code of this file.
Functions | |
Compact Heightfield Functions | |
| |
bool | rcBuildCompactHeightfield (rcContext *ctx, const int walkableHeight, const int walkableClimb, rcHeightfield &hf, rcCompactHeightfield &chf) |
Builds a compact heightfield representing open space, from a heightfield representing solid space. More... | |
bool | rcBuildDistanceField (rcContext *ctx, rcCompactHeightfield &chf) |
Builds the distance field for the specified compact heightfield. More... | |
bool | rcBuildRegions (rcContext *ctx, rcCompactHeightfield &chf, const int borderSize, const int minRegionArea, const int mergeRegionArea) |
Builds region data for the heightfield using watershed partitioning. More... | |
bool | rcBuildLayerRegions (rcContext *ctx, rcCompactHeightfield &chf, const int borderSize, const int minRegionArea) |
Builds region data for the heightfield by partitioning the heightfield in non-overlapping layers. More... | |
bool | rcBuildRegionsMonotone (rcContext *ctx, rcCompactHeightfield &chf, const int borderSize, const int minRegionArea, const int mergeRegionArea) |
Builds region data for the heightfield using simple monotone partitioning. More... | |
void | rcSetCon (rcCompactSpan &s, int dir, int i) |
Sets the neighbor connection data for the specified direction. More... | |
int | rcGetCon (const rcCompactSpan &s, int dir) |
Gets neighbor connection data for the specified direction. More... | |
int | rcGetDirOffsetX (int dir) |
Gets the standard width (x-axis) offset for the specified direction. More... | |
int | rcGetDirOffsetY (int dir) |
Gets the standard height (z-axis) offset for the specified direction. More... | |