Efficiently applies scaling to a 4x4 matrix using individual scale factors.
The scale factor along the x-axis.
The scale factor along the y-axis.
The scale factor along the z-axis.
The matrix to apply the scaling to.
The matrix with the scaling applied.
Efficiently applies scaling to a 4x4 matrix using individual scale factors.