Concatenating Transformations
When an application applies more than one transformation, it can concatenate
the individual transformations to produce a final result. To concatenate
transformations, multiply the individual transformation matrixes. The product
of this multiplication is the concatenated transformation.
There are four ways the final matrix can be concatenated:
- Hard code the matrix values into the application,
then call the transformation functions.
- Multiply the individual matrixes, then call the
transformation functions.
- Use the helper functions with the TRANSFORM_ADD
option, then call the transformation functions.
- Alternately apply transformation operations directly
to the transformation matrix, then apply a transformation function.
Concatenating before calling provides better performance.
[Back: Accumulating Transformations]
[Next: Hard Coding Values for a Concatenated Matrix]