MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / allocatePathId

Method allocatePathId

Engine/source/scene/pathManager.cpp:223–229  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

221
222//--------------------------------------------------------------------------
223U32 PathManager::allocatePathId()
224{
225 mPaths.increment();
226 mPaths.last() = new PathEntry;
227
228 return (mPaths.size() - 1);
229}
230
231
232void PathManager::updatePath(const U32 id,

Callers 1

updatePathMethod · 0.80

Calls 3

incrementMethod · 0.80
lastMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected