mirror of https://github.com/axmolengine/axmol.git
removes dead code
This commit is contained in:
parent
bc11e24019
commit
5c8d35e484
|
@ -108,13 +108,11 @@ cpBool PhysicsWorldCallback::collisionBeginCallbackFunc(cpArbiter *arb, struct c
|
||||||
contact->_contactInfo = arb;
|
contact->_contactInfo = arb;
|
||||||
|
|
||||||
return world->collisionBeginCallback(*contact);
|
return world->collisionBeginCallback(*contact);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cpBool PhysicsWorldCallback::collisionPreSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world)
|
cpBool PhysicsWorldCallback::collisionPreSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world)
|
||||||
{
|
{
|
||||||
return world->collisionPreSolveCallback(*static_cast<PhysicsContact*>(cpArbiterGetUserData(arb)));
|
return world->collisionPreSolveCallback(*static_cast<PhysicsContact*>(cpArbiterGetUserData(arb)));
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicsWorldCallback::collisionPostSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world)
|
void PhysicsWorldCallback::collisionPostSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world)
|
||||||
|
|
Loading…
Reference in New Issue