- CP_ARBITER_GET_SHAPES
string CP_ARBITER_GET_SHAPES()
A macro shortcut for defining and retrieving the shapes from an arbiter.
- cpArbiterApplyCachedImpulse
void cpArbiterApplyCachedImpulse(cpArbiter* arb, cpFloat dt_coef)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterApplyImpulse
void cpArbiterApplyImpulse(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetBodies
void cpArbiterGetBodies(cpArbiter* arb, cpBody** a, cpBody** b)
Return the colliding bodies involved for this arbiter.
The order of the cpSpace.collision_type the bodies are associated with values will match
the order set when the collision handler was registered.
- cpArbiterGetContactPointSet
cpContactPointSet cpArbiterGetContactPointSet(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetCount
int cpArbiterGetCount(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetDepth
cpFloat cpArbiterGetDepth(cpArbiter* arb, int i)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetNormal
cpVect cpArbiterGetNormal(cpArbiter* arb, int i)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetPoint
cpVect cpArbiterGetPoint(cpArbiter* arb, int i)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterGetShapes
void cpArbiterGetShapes(cpArbiter* arb, cpShape** a, cpShape** b)
Return the colliding shapes involved for this arbiter.
The order of their cpSpace.collision_type values will match
the order set when the collision handler was registered.
- cpArbiterGetSurfaceVelocity
cpVect cpArbiterGetSurfaceVelocity(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterIgnore
void cpArbiterIgnore(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterInit
cpArbiter* cpArbiterInit(cpArbiter* arb, cpShape* a, cpShape* b)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterIsFirstContact
cpBool cpArbiterIsFirstContact(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterPreStep
void cpArbiterPreStep(cpArbiter* arb, cpFloat dt, cpFloat slop, cpFloat bias)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterSetContactPointSet
void cpArbiterSetContactPointSet(cpArbiter* arb, cpContactPointSet* set)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterSetSurfaceVelocity
void cpArbiterSetSurfaceVelocity(cpArbiter* arb, cpVect vr)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterTotalImpulse
cpVect cpArbiterTotalImpulse(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterTotalImpulseWithFriction
cpVect cpArbiterTotalImpulseWithFriction(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterTotalKE
cpFloat cpArbiterTotalKE(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterUnthread
void cpArbiterUnthread(cpArbiter* arb)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpArbiterUpdate
void cpArbiterUpdate(cpArbiter* arb, cpContact* contacts, int numContacts, cpCollisionHandler* handler, cpShape* a, cpShape* b)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpContactInit
cpContact* cpContactInit(cpContact* con, cpVect p, cpVect n, cpFloat dist, cpHashValue hash)
Undocumented in source. Be warned that the author may not have intended to support it.
- unthreadHelper
void unthreadHelper(cpArbiter* arb, cpBody* body_)
Undocumented in source. Be warned that the author may not have intended to support it.