C4 Engine
C4 Engine API Documentation

Motor3D::GetInverseTransformMatrix

Defined in:  TSMotor3D.h
Converts a motor to the inverse of its corresponding 4 × 4 matrix.
Prototype

Transform4D GetInverseTransformMatrix(voidconst;

Description
The GetInverseTransformMatrix function converts a motor to the inverse of the Transform4D object that represents the same transformation when it premultiplies a Vector3D or Point3D object. Such a matrix correctly transforms a Plane3D object when it postmultiplies it.

This function performs the same amount of computation as the Motor3D::GetTransformMatrix function, and is thus significantly faster than calling the Motor3D::GetTransformMatrix function and inverting the result.
See Also

Motor3D::GetTransformMatrix

Motor3D::GetTransformMatrices

Motor3D::SetTransformMatrix

Motor3D::GetDirectionX

Motor3D::GetDirectionY

Motor3D::GetDirectionZ

Motor3D::GetPosition

Motor3D::MakeRotation

Motor3D::MakeTranslation

Motor3D::MakeScrew