raycast resturns hit normal.

This commit is contained in:
Mikko Mononen
2009-12-21 10:48:27 +00:00
parent 021880fe92
commit 5daf3f8157
9 changed files with 400 additions and 176 deletions

View File

@@ -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)