Constructor * @param world The reference to the physics world where the body is created * @param entity Entity of the body */
| 40 | * @param entity Entity of the body |
| 41 | */ |
| 42 | Body::Body(PhysicsWorld& world, Entity entity) |
| 43 | : mEntity(entity), mWorld(world), mIsDebugEnabled(false) { |
| 44 | |
| 45 | #ifdef IS_RP3D_PROFILING_ENABLED |
| 46 | |
| 47 | mProfiler = nullptr; |
| 48 | #endif |
| 49 | |
| 50 | } |
| 51 | |
| 52 | // Destructor |
| 53 | Body::~Body() { |
nothing calls this directly
no outgoing calls
no test coverage detected