MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / GetInverseTransformMatrix

Method GetInverseTransformMatrix

TSMotor2D.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Transform2D Motor2D::GetInverseTransformMatrix(void) const
41{
42 return (Transform2D(1.0F - z * z * 2.0F, z * w * 2.0F, (x * z - y * w) * 2.0F,
43 z * w * -2.0F, 1.0F - z * z * 2.0F, (y * z + x * w) * 2.0F));
44}
45
46void Motor2D::GetTransformMatrices(Transform2D *M, Transform2D *Minv) const
47{

Callers

nothing calls this directly

Calls 1

Transform2DClass · 0.85

Tested by

no test coverage detected