Game Development Reference

In-Depth Information

all axes, this means the scaling factor is the same for every axis whether in 2D or 3D, this

is known as uniform scale.

Figure 20- Uniform scaling in

A scale factor of 1, means that the shape will retain its original size. While uniform scaling

preserves the shape of the object, non-uniform scale will change it by stretching towards a

side, or shrinking the shape disproportionately.

Figure 21 - Non-uniform scaling in

Scale is a linear transformation and can also be represented in matrix form.