RwScaleMatrix(RwMatrix4d *matrix, RwReal sx, RwReal sy, RwReal sz, RwCombineOperation op);
Description
Builds a scaling matrix and applies it to matrix. The operation may be a pre-concatenation, post-concatenation, or replacement.
Arguments
matrix Pointer to the matrix.
sx Scale factor in the X axis.
sy Scale factor in the Y axis.
sz Scale factor in the Z axis.
op Combination operator.
Return Value
The argument matrix if successful, and NULL otherwise.
Comments
Note that if no scaling is to be applied CREAL(1.0) should be specified rather than CREAL(0.0).
See Also