scale
Generates a scaling matrix given x, y, and z scale factors.
Return
The scaling matrix as a Matrix4.
Parameters
sx
The x scale factor.
sy
The y scale factor.
sz
The z scale factor.
Generates a uniform scaling matrix given a single scale factor.
Return
The scaling matrix as a Matrix4.
Parameters
scale
The uniform scale factor.