MCPcopy Create free account
hub / github.com/SpartanJ/eepp / removeBodyFree

Method removeBodyFree

src/modules/physics/src/eepp/physics/physicsmanager.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void PhysicsManager::removeBodyFree( Body* body ) {
56 if ( mMemoryManager ) {
57 auto foundIt = std::find( mBodysFree.begin(), mBodysFree.end(), body );
58 if ( foundIt != mBodysFree.end() )
59 mBodysFree.erase( foundIt );
60 }
61}
62
63void PhysicsManager::addShapeFree( Shape* shape ) {
64 if ( mMemoryManager ) {

Callers 4

SpaceMethod · 0.80
addBodyMethod · 0.80
removeBodyMethod · 0.80
~BodyMethod · 0.80

Calls 4

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected