MCPcopy Create free account
hub / github.com/axmolengine/axmol / collisionPreSolveCallbackFunc

Method collisionPreSolveCallbackFunc

core/physics/PhysicsWorld.cpp:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129cpBool PhysicsWorldCallback::collisionPreSolveCallbackFunc(cpArbiter* arb, cpSpace* /*space*/, PhysicsWorld* world)
130{
131 return world->collisionPreSolveCallback(*static_cast<PhysicsContact*>(cpArbiterGetUserData(arb)));
132}
133
134void PhysicsWorldCallback::collisionPostSolveCallbackFunc(cpArbiter* arb, cpSpace* /*space*/, PhysicsWorld* world)
135{

Callers

nothing calls this directly

Calls 2

cpArbiterGetUserDataFunction · 0.85

Tested by

no test coverage detected