Moved pointers from dtMeshHeader to dtMeshTile, allows mixing build/use 32/64 bit builds. Bumbed Detour version number.

This commit is contained in:
Mikko Mononen
2010-03-02 09:24:24 +00:00
parent b50aecfa51
commit 359f15b11c
8 changed files with 708 additions and 348 deletions
+2 -2
View File
@@ -797,8 +797,8 @@ bool Sample_SoloMeshTiled::handleBuild()
tbmin[1] = tileCfg.bmin[2];
tbmax[0] = tileCfg.bmax[0];
tbmax[1] = tileCfg.bmax[2];
int cid[256];// TODO: Make grow when returning too many items.
const int ncid = rcGetChunksInRect(chunkyMesh, tbmin, tbmax, cid, 256);
int cid[512];// TODO: Make grow when returning too many items.
const int ncid = rcGetChunksInRect(chunkyMesh, tbmin, tbmax, cid, 512);
if (!ncid)
continue;