diff --git a/Recast_8h.html b/Recast_8h.html
index e8d042f3..b21efb86 100644
--- a/Recast_8h.html
+++ b/Recast_8h.html
@@ -442,10 +442,10 @@ Variables
| | The value of PI used by Recast.
|
| |
| static const int | RC_SPAN_HEIGHT_BITS = 13 |
-| | Defines the number of bits allocated to rcSpan::smin and rcSpan::smax.
|
+| | Defines the number of bits allocated to rcSpan::smin and rcSpan::smax.
|
| |
| static const int | RC_SPAN_MAX_HEIGHT = (1 << RC_SPAN_HEIGHT_BITS) - 1 |
-| | Defines the maximum value for rcSpan::smin and rcSpan::smax.
|
+| | Defines the maximum value for rcSpan::smin and rcSpan::smax.
|
| |
| static const int | RC_SPANS_PER_POOL = 2048 |
| | The number of spans allocated per span spool.
|
@@ -1694,7 +1694,7 @@ template<class T >
@@ -1718,7 +1718,7 @@ template<class T >
diff --git a/Recast_8h_source.html b/Recast_8h_source.html
index 2d5c3d91..535603d6 100644
--- a/Recast_8h_source.html
+++ b/Recast_8h_source.html
@@ -901,7 +901,7 @@ $(document).ready(function(){initNavTree('Recast_8h_source.html',''); initResiza
void rcFilterLowHangingWalkableObstacles(rcContext *context, int walkableClimb, rcHeightfield &heightfield)
Marks non-walkable spans as walkable if their maximum is within walkableClimb of the span below them.
Definition RecastFilter.cpp:29
void rcFilterWalkableLowHeightSpans(rcContext *context, int walkableHeight, rcHeightfield &heightfield)
Marks walkable spans as not walkable if the clearance above the span is less than the specified walka...
Definition RecastFilter.cpp:176
void rcMarkConvexPolyArea(rcContext *context, const float *verts, int numVerts, float minY, float maxY, unsigned char areaId, rcCompactHeightfield &compactHeightfield)
Applies the area id to the all spans within the specified convex polygon.
Definition RecastArea.cpp:432
-bool rcRasterizeTriangle(rcContext *context, const float *v0, const float *v1, const float *v2, unsigned char areaID, rcHeightfield &heightfield, int flagMergeThreshold=1)
Rasterizes a single triangle into the specified heightfield.
Definition RecastRasterization.cpp:457
+bool rcRasterizeTriangle(rcContext *context, const float *v0, const float *v1, const float *v2, unsigned char areaID, rcHeightfield &heightfield, int flagMergeThreshold=1)
Rasterizes a single triangle into the specified heightfield.
Definition RecastRasterization.cpp:464
bool rcBuildDistanceField(rcContext *ctx, rcCompactHeightfield &chf)
Builds the distance field for the specified compact heightfield.
Definition RecastRegion.cpp:1262
bool rcBuildPolyMeshDetail(rcContext *ctx, const rcPolyMesh &mesh, const rcCompactHeightfield &chf, float sampleDist, float sampleMaxError, rcPolyMeshDetail &dmesh)
Builds a detail mesh from the provided polygon mesh.
Definition RecastMeshDetail.cpp:1182
void rcMarkCylinderArea(rcContext *context, const float *position, float radius, float height, unsigned char areaId, rcCompactHeightfield &compactHeightfield)
Applies the area id to all spans within the specified y-axis-aligned cylinder.
Definition RecastArea.cpp:633
@@ -937,7 +937,7 @@ $(document).ready(function(){initNavTree('Recast_8h_source.html',''); initResiza
void rcClearUnwalkableTriangles(rcContext *context, float walkableSlopeAngle, const float *verts, int numVerts, const int *tris, int numTris, unsigned char *triAreaIDs)
Sets the area id of all triangles with a slope greater than or equal to the specified value to RC_NUL...
Definition Recast.cpp:360
int rcGetCon(const rcCompactSpan &span, int direction)
Gets neighbor connection data for the specified direction.
Definition Recast.h:1244
void rcFilterLedgeSpans(rcContext *context, int walkableHeight, int walkableClimb, rcHeightfield &heightfield)
Marks spans that are ledges as not-walkable.
Definition RecastFilter.cpp:67
-bool rcRasterizeTriangles(rcContext *context, const float *verts, int numVerts, const int *tris, const unsigned char *triAreaIDs, int numTris, rcHeightfield &heightfield, int flagMergeThreshold=1)
Rasterizes an indexed triangle mesh into the specified heightfield.
Definition RecastRasterization.cpp:477
+bool rcRasterizeTriangles(rcContext *context, const float *verts, int numVerts, const int *tris, const unsigned char *triAreaIDs, int numTris, rcHeightfield &heightfield, int flagMergeThreshold=1)
Rasterizes an indexed triangle mesh into the specified heightfield.
Definition RecastRasterization.cpp:484
bool rcCopyPolyMesh(rcContext *ctx, const rcPolyMesh &src, rcPolyMesh &dst)
Copies the poly mesh data from src to dst.
Definition RecastMesh.cpp:1478
bool rcBuildContours(rcContext *ctx, const rcCompactHeightfield &chf, float maxError, int maxEdgeLen, rcContourSet &cset, int buildFlags=RC_CONTOUR_TESS_WALL_EDGES)
Builds a contour set from the region outlines in the provided compact heightfield.
Definition RecastContour.cpp:814
void rcFreeContourSet(rcContourSet *contourSet)
Frees the specified contour set using the Recast allocator.
Definition Recast.cpp:193
@@ -1076,9 +1076,9 @@ $(document).ready(function(){initNavTree('Recast_8h_source.html',''); initResiza
rcSpanPool * next
The next span pool.
Definition Recast.h:306
Represents a span in a heightfield.
Definition Recast.h:295
rcSpan * next
The next span higher up in column.
Definition Recast.h:299
-unsigned int smax
The upper limit of the span. [Limit: <= RC_SPAN_MAX_HEIGHT].
Definition Recast.h:297
+unsigned int smax
The upper limit of the span. (Exclusive) [Limit: <= RC_SPAN_MAX_HEIGHT].
Definition Recast.h:297
unsigned int area
The area id assigned to the span.
Definition Recast.h:298
-unsigned int smin
The lower limit of the span. [Limit: < smax].
Definition Recast.h:296
+unsigned int smin
The lower limit of the span. (Inclusive) [Limit: < smax].
Definition Recast.h:296
diff --git a/structrcHeightfield.html b/structrcHeightfield.html
index b5a3c728..b0bc108f 100644
--- a/structrcHeightfield.html
+++ b/structrcHeightfield.html
@@ -181,8 +181,8 @@ Public Attributes
float cs
The size of each cell. (On the xz-plane.)
Definition Recast.h:321
Represents a span in a heightfield.
Definition Recast.h:295
rcSpan * next
The next span higher up in column.
Definition Recast.h:299
-unsigned int smax
The upper limit of the span. [Limit: <= RC_SPAN_MAX_HEIGHT].
Definition Recast.h:297
-unsigned int smin
The lower limit of the span. [Limit: < smax].
Definition Recast.h:296
+unsigned int smax
The upper limit of the span. (Exclusive) [Limit: <= RC_SPAN_MAX_HEIGHT].
Definition Recast.h:297
+unsigned int smin
The lower limit of the span. (Inclusive) [Limit: < smax].
Definition Recast.h:296
- See also
- rcAllocHeightfield, rcFreeHeightField, rcCreateHeightfield
diff --git a/structrcSpan.html b/structrcSpan.html
index bd3fa047..d69e4b7a 100644
--- a/structrcSpan.html
+++ b/structrcSpan.html
@@ -108,10 +108,10 @@ $(document).ready(function(){initNavTree('structrcSpan.html',''); initResizable(
|
| unsigned int | smin: RC_SPAN_HEIGHT_BITS |
-| | The lower limit of the span. [Limit: < smax].
|
+| | The lower limit of the span. (Inclusive) [Limit: < smax].
|
| |
| unsigned int | smax: RC_SPAN_HEIGHT_BITS |
-| | The upper limit of the span. [Limit: <= RC_SPAN_MAX_HEIGHT].
|
+| | The upper limit of the span. (Exclusive) [Limit: <= RC_SPAN_MAX_HEIGHT].
|
| |
| unsigned int | area: 6 |
| | The area id assigned to the span.
|
@@ -168,7 +168,7 @@ Public Attributes
@@ -184,7 +184,7 @@ Public Attributes
-
The lower limit of the span. [Limit: < smax].
+
The lower limit of the span. (Inclusive) [Limit: < smax].