C4 Engine
C4 Engine API Documentation

Flector3D::GetTransformMatrices

Defined in:  TSFlector3D.h
Converts a flector to its corresponding 4 × 4 matrix and its inverse simultaneously.
Prototype

void GetTransformMatrices(Transform4D *M, Transform4D *Minv) const;

Parameters
M A pointer to the location where the transform matrix is returned.
Minv A pointer to the location where the inverse transform matrix is returned.
Description
The GetTransformMatrices function converts a flector to the Transform4D object that represents the same transformation when it premultiplies a Vector3D or Point3D object and stores it in the location specified by the M parameter. The inverse of this matrix is stored in the location specified by the Minv parameter.

Calling this function is much faster than making separate calls to the Flector3D::GetTransformMatrix and Flector3D::GetInverseTransformMatrix functions.
See Also

Flector3D::GetTransformMatrix

Flector3D::GetInverseTransformMatrix

Flector3D::SetTransformMatrix

Flector3D::MakeTransflection

Flector3D::MakeRotoreflection