Matrix3D::MakeScale
Defined in:
Returns a matrix that represents a scale.
TSMatrix3D.h
Prototype
static Matrix3D MakeScale(float scale);
static Matrix3D MakeScale(float sx, float sy, float sz);
Parameters
scale |
The scale along all three axes. |
sx |
The scale along the x axis. |
sy |
The scale along the y axis. |
sz |
The scale along the z axis. |
Description
The MakeScale
function returns a matrix representing a scale. If only the scale
parameter is specified, then the scale is uniform along all three axes. If the sx
, sy
, and sz
parameters are specified, then they correspond to the scale along the x, y, and z axis, respectively.
See Also