Few debugdraw tweaks.

Commented some magic flags.
This commit is contained in:
Mikko Mononen
2009-08-24 13:04:12 +00:00
parent 6de4d30705
commit f142f33415
7 changed files with 589 additions and 136 deletions

View File

@@ -940,7 +940,7 @@ bool rcBuildPolyMesh(rcContourSet& cset, int nvp, rcPolyMesh& mesh)
const int* v = &cont.verts[j*4];
indices[j] = addVertex((unsigned short)v[0], (unsigned short)v[1], (unsigned short)v[2],
mesh.verts, firstVert, nextVert, mesh.nverts);
if (v[3] & 0x10000)
if (v[3] & RC_BORDER_VERTEX)
{
// This vertex should be removed.
vflags[indices[j]] = 1;