mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 22:05:58 +00:00
Changed many 0xffff:s to named consts.
This commit is contained in:
@@ -55,7 +55,7 @@ bool duDumpPolyMeshToObj(rcPolyMesh& pmesh, const char* filepath)
|
||||
const unsigned short* p = &pmesh.polys[i*nvp*2];
|
||||
for (int j = 2; j < nvp; ++j)
|
||||
{
|
||||
if (p[j] == 0xffff) break;
|
||||
if (p[j] == RC_MESH_NULL_IDX) break;
|
||||
fprintf(fp, "f %d %d %d\n", p[0]+1, p[j-1]+1, p[j]+1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user