Luna::AffineMatrix::make_scaling
Float4x4 make_scaling(f32 scale_x, f32 scale_y, f32 scale_z)
Constructs one 3D scaling matrix from scaling factors in x, y and z directions.
Parameters
-
in scale_x
The scaling along X axis.
-
in scale_y
The scaling along Y axis.
-
in scale_z
The scaling along Z axis.
Return value
Returns the constructed matrix.