MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / Body

Method Body

src/body/Body.cpp:42–50  ·  view source on GitHub ↗

Constructor * @param world The reference to the physics world where the body is created * @param entity Entity of the body */

Source from the content-addressed store, hash-verified

40 * @param entity Entity of the body
41 */
42Body::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
53Body::~Body() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected