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

Method addSpace

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

Source from the content-addressed store, hash-verified

92}
93
94void PhysicsManager::addSpace( Space* space ) {
95 if ( mMemoryManager ) {
96 if ( std::find( mSpaces.begin(), mSpaces.end(), space ) == mSpaces.end() )
97 mSpaces.push_back( space );
98 }
99}
100
101void PhysicsManager::removeSpace( Space* space ) {
102 if ( mMemoryManager ) {

Callers 1

SpaceMethod · 0.80

Calls 4

findFunction · 0.85
push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected