예제 #1
0
static cpFloat
getImpulse(cpGrooveJoint *joint)
{
	return cpvlength(joint->jAcc);
}
예제 #2
0
static cpFloat
getImpulse(cpConstraint *joint)
{
    return cpvlength(((cpPivotJoint *)joint)->jAcc);
}