cocos2d/external/chipmunk/include/chipmunk/cpTransform.h
static inline cpTransform
cpTransformRigidInverse(cpTransform t)
{
  return cpTransformNewTranspose(
     t.d, -t.c, (t.c*t.ty - t.tx*t.d),
    -t.b,  t.a, (t.tx*t.b - t.a*t.ty)
  );
}
/// Fast inverse of a rigid transformation matrix.
Fast inverse of a rigid transformation matrix.
Fast inverse of a rigid transformation matrix .
static inline cpTransform
cpTransformRigidInverse(cpTransform t)
{
  return cpTransformNewTranspose(
     t.d, -t.c, (t.c*t.ty - t.tx*t.d),
    -t.b,  t.a, (t.tx*t.b - t.a*t.ty)
  );
}
static inline cpTransform cpTransformRigidInverse ( cpTransform t ) { return cpTransformNewTranspose ( t . d , - t . c , ( t . c * t . ty - t . tx * t . d ) , - t . b , t . a , ( t . tx * t . b - t . a * t . ty ) ) ; }
Fast inverse of a rigid transformation matrix.
Fast inverse of a rigid transformation matrix .