Detour compiles now with DT_VIRTUAL_QUERYFILTER. Fixed typos in comments. Fixed bug in findStraightPath() where leftPolyType was not used.

This commit is contained in:
Mikko Mononen
2010-08-26 18:57:53 +00:00
parent cfc66a0fc9
commit 5ba6518ed3
10 changed files with 742 additions and 118 deletions
+2 -2
View File
@@ -512,7 +512,7 @@ static bool buildPolyDetail(rcContext* ctx, const float* in, const int nin,
const float cs = chf.cs;
const float ics = 1.0f/cs;
// Tesselate outlines.
// Tessellate outlines.
// This is done in separate pass in order to ensure
// seamless height values across the ply boundaries.
if (sampleDist > 0)
@@ -618,7 +618,7 @@ static bool buildPolyDetail(rcContext* ctx, const float* in, const int nin,
}
// Tesselate the base mesh.
// Tessellate the base mesh.
edges.resize(0);
tris.resize(0);