| 92 | } |
| 93 | |
| 94 | void 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 | |
| 101 | void PhysicsManager::removeSpace( Space* space ) { |
| 102 | if ( mMemoryManager ) { |