mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-21 18:48:36 +00:00
Fix for Issue 128 (third time the charm)
This commit is contained in:
@@ -57,7 +57,7 @@ void duDebugDrawTriMeshSlope(duDebugDraw* dd, const float* verts, int /*nverts*/
|
||||
if (!tris) return;
|
||||
if (!normals) return;
|
||||
|
||||
const float walkableThr = cosf(walkableSlopeAngle/180.0f*(float)M_PI);
|
||||
const float walkableThr = cosf(walkableSlopeAngle/180.0f*DU_PI);
|
||||
|
||||
dd->begin(DU_DRAW_TRIS);
|
||||
for (int i = 0; i < ntris*3; i += 3)
|
||||
|
||||
Reference in New Issue
Block a user