C4 Engine
C4 Engine API Documentation

Transform4D::MakeScale

Defined in:  TSMatrix4D.h
Returns a matrix that represents a scale.
Prototype

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

Matrix4D::SetIdentity