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

Method popFront

Engine/source/T3D/pathShape.cpp:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void PathShape::popFront()
339{
340 if (mNodeCount < 2)
341 return;
342
343 // Remove the first node. Node base and position are unaffected.
344 mNodeCount--;
345 delete mSpline.remove(mSpline.getKnot(0));
346}
347
348
349//----------------------------------------------------------------------------

Callers 1

pathShape.cppFile · 0.45

Calls 2

getKnotMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected