Q3Matrix4x4_SetScale
You can use theQ3Matrix4x4_SetScalefunction to configure a 4-by-4 scaling transformation matrix.
TQ3Matrix4x4 *Q3Matrix4x4_SetScale ( TQ3Matrix4x4 *matrix4x4, float xScale, float yScale, float zScale);
matrix4x4- A 4-by-4 matrix.
xScale- The desired amount of scaling along the x coordinate axis.
yScale- The desired amount of scaling along the y coordinate axis.
zScale- The desired amount of scaling along the z coordinate axis.
DESCRIPTION
TheQ3Matrix4x4_SetScalefunction returns, as its function result and in thematrix4x4parameter, a scaling matrix that scales an object by the amountxScalealong the x coordinate axis, by the amountyScalealong the y coordinate axis, and by the amountzScalealong the z coordinate axis.