From df6fac219b7c05e51a1006a9b2dab5d5b87920a9 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Sat, 31 Jan 2015 17:18:02 -0500 Subject: [PATCH] Use RC_SPAN_HEIGHT_BITS when setting the bitfield size of smin and smax in rcSpan. --- Recast/Include/Recast.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Recast/Include/Recast.h b/Recast/Include/Recast.h index d8bdde2..797d69d 100644 --- a/Recast/Include/Recast.h +++ b/Recast/Include/Recast.h @@ -245,7 +245,7 @@ struct rcConfig /// Defines the number of bits allocated to rcSpan::smin and rcSpan::smax. static const int RC_SPAN_HEIGHT_BITS = 13; /// Defines the maximum value for rcSpan::smin and rcSpan::smax. -static const int RC_SPAN_MAX_HEIGHT = (1<