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

Method GetTransformMatrix

TSMotor2D.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Transform2D Motor2D::GetTransformMatrix(void) const
35{
36 return (Transform2D(1.0F - z * z * 2.0F, z * w * -2.0F, (x * z + y * w) * 2.0F,
37 z * w * 2.0F, 1.0F - z * z * 2.0F, (y * z - x * w) * 2.0F));
38}
39
40Transform2D Motor2D::GetInverseTransformMatrix(void) const
41{

Callers

nothing calls this directly

Calls 1

Transform2DClass · 0.85

Tested by

no test coverage detected