From 69f00ef8930707403e4e54db9a0038cf92e44661 Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Sat, 30 Apr 2011 05:43:07 +0000 Subject: [PATCH] Fixed type on rcAddSpan definition in header file. --- 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 53eb640..205a80f 100644 --- a/Recast/Include/Recast.h +++ b/Recast/Include/Recast.h @@ -517,9 +517,9 @@ void rcClearUnwalkableTriangles(rcContext* ctx, const float walkableSlopeAngle, // smin,smax - (in) spans min/max height // flags - (in) span flags (zero or WALKABLE) // flagMergeThr - (in) merge threshold. -void rcAddSpan(rcContext* ctx, rcHeightfield& solid, const int x, const int y, +void rcAddSpan(rcContext* ctx, rcHeightfield& hf, const int x, const int y, const unsigned short smin, const unsigned short smax, - const unsigned short area, const int flagMergeThr); + const unsigned char area, const int flagMergeThr); // Rasterizes a triangle into heightfield spans. // Params: