MCPcopy Create free account
hub / github.com/axmolengine/axmol / dtAllocTileCachePolyMesh

Function dtAllocTileCachePolyMesh

3rdparty/recast/DetourTileCacheBuilder.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86dtTileCachePolyMesh* 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
95void dtFreeTileCachePolyMesh(dtTileCacheAlloc* alloc, dtTileCachePolyMesh* lmesh)
96{

Callers 1

buildNavMeshTileMethod · 0.85

Calls 1

allocMethod · 0.45

Tested by

no test coverage detected