Q3MatrixTransform_New
You can use theQ3MatrixTransform_Newfunction to create a new matrix transform.
TQ3TransformObject Q3MatrixTransform_New ( const TQ3Matrix4x4 *matrix);
matrix- On entry, a pointer to a 4-by-4 matrix that defines the desired new transform.
DESCRIPTION
TheQ3MatrixTransform_Newfunction returns, as its function result, a reference to a new transform object of typekQ3TransformTypeMatrixusing the data passed in thematrixparameter. The data you pass in thematrixparameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3MatrixTransform_Newreturns the valueNULL.It is your responsibility to ensure that the matrix specified by the
matrixparameter is affine and invertible. QuickDraw 3D does not check for these qualities.