mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-23 11:38:34 +00:00
raycast resturns hit normal.
This commit is contained in:
@@ -235,9 +235,7 @@ void duDebugDrawHeightfieldSolid(duDebugDraw* dd, const rcHeightfield& hf)
|
||||
|
||||
const int w = hf.width;
|
||||
const int h = hf.height;
|
||||
|
||||
const int spanCount = getSpanCount(hf);
|
||||
|
||||
|
||||
dd->begin(DU_DRAW_QUADS);
|
||||
|
||||
for (int y = 0; y < h; ++y)
|
||||
@@ -271,8 +269,6 @@ void duDebugDrawHeightfieldWalkable(duDebugDraw* dd, const rcHeightfield& hf)
|
||||
const int w = hf.width;
|
||||
const int h = hf.height;
|
||||
|
||||
const int spanCount = getSpanCount(hf);
|
||||
|
||||
dd->begin(DU_DRAW_QUADS);
|
||||
|
||||
for (int y = 0; y < h; ++y)
|
||||
|
||||
Reference in New Issue
Block a user