Removed debug printfs.
This commit is contained in:
parent
531d655ff6
commit
1202ee641a
@ -264,14 +264,11 @@ bool dtCreateNavMeshData(dtNavMeshCreateParams* params, unsigned char** outData,
|
|||||||
int storedOffMeshConCount = 0;
|
int storedOffMeshConCount = 0;
|
||||||
int offMeshConLinkCount = 0;
|
int offMeshConLinkCount = 0;
|
||||||
|
|
||||||
printf("classify\n");
|
|
||||||
for (int i = 0; i < params->offMeshConCount; ++i)
|
for (int i = 0; i < params->offMeshConCount; ++i)
|
||||||
{
|
{
|
||||||
offMeshConFlags[i*2+0] = classifyOffMeshPoint(¶ms->offMeshConVerts[(i*2+0)*3], params->bmin, params->bmax);
|
offMeshConFlags[i*2+0] = classifyOffMeshPoint(¶ms->offMeshConVerts[(i*2+0)*3], params->bmin, params->bmax);
|
||||||
offMeshConFlags[i*2+1] = classifyOffMeshPoint(¶ms->offMeshConVerts[(i*2+1)*3], params->bmin, params->bmax);
|
offMeshConFlags[i*2+1] = classifyOffMeshPoint(¶ms->offMeshConVerts[(i*2+1)*3], params->bmin, params->bmax);
|
||||||
|
|
||||||
printf(" %d, %d\n", (int)offMeshConFlags[i*2+0], (int)offMeshConFlags[i*2+1]);
|
|
||||||
|
|
||||||
// Cound how many links should be allocated for off-mesh connections.
|
// Cound how many links should be allocated for off-mesh connections.
|
||||||
if (offMeshConFlags[i*2+0] == 0xff)
|
if (offMeshConFlags[i*2+0] == 0xff)
|
||||||
offMeshConLinkCount++;
|
offMeshConLinkCount++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user