| 84 | } |
| 85 | |
| 86 | dtTileCachePolyMesh* dtAllocTileCachePolyMesh(dtTileCacheAlloc* alloc) |
| 87 | { |
| 88 | dtAssert(alloc); |
| 89 | |
| 90 | dtTileCachePolyMesh* lmesh = (dtTileCachePolyMesh*)alloc->alloc(sizeof(dtTileCachePolyMesh)); |
| 91 | memset(lmesh, 0, sizeof(dtTileCachePolyMesh)); |
| 92 | return lmesh; |
| 93 | } |
| 94 | |
| 95 | void dtFreeTileCachePolyMesh(dtTileCacheAlloc* alloc, dtTileCachePolyMesh* lmesh) |
| 96 | { |