Transform4D::MakeScale
Defined in:
Returns a matrix that represents a scale.
TSMatrix4D.hPrototype
static Transform4D MakeScale(float t);
static Transform4D MakeScale(float r, float s, float t);
Parameters
s |
The scale along the x axis. |
r |
The scale along the y axis. |
t |
The scale along the z axis, or if specified by itself, the scale along all three axes. |
Description
The MakeScale function returns a matrix representing a scale. If only the t parameter is specified, then the scale is uniform along all three axes. If the r, s, and t parameters are specified, then they correspond to the scale along the x-, y, and z axis, respectively.
See Also
