From 6d30a5d8ee5592e70feec37231336287d66a19ae Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sun, 8 Feb 2026 15:45:06 -0500 Subject: [PATCH] Document span range values inclusivity/exclusivity --- Recast/Include/Recast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Recast/Include/Recast.h b/Recast/Include/Recast.h index 5b34ea52..30e710e5 100644 --- a/Recast/Include/Recast.h +++ b/Recast/Include/Recast.h @@ -293,8 +293,8 @@ static const int RC_SPANS_PER_POOL = 2048; /// @see rcHeightfield struct rcSpan { - unsigned int smin : RC_SPAN_HEIGHT_BITS; ///< The lower limit of the span. [Limit: < #smax] - unsigned int smax : RC_SPAN_HEIGHT_BITS; ///< The upper limit of the span. [Limit: <= #RC_SPAN_MAX_HEIGHT] + unsigned int smin : RC_SPAN_HEIGHT_BITS; ///< The lower limit of the span. (Inclusive) [Limit: < #smax] + unsigned int smax : RC_SPAN_HEIGHT_BITS; ///< The upper limit of the span. (Exclusive) [Limit: <= #RC_SPAN_MAX_HEIGHT] unsigned int area : 6; ///< The area id assigned to the span. rcSpan* next; ///< The next span higher up in column. };