Luna::AffineMatrix::make_scaling
Float3x3 make_scaling(const Float2 &scaling)
Constructs one 2D scaling matrix from one scaling vector.
Parameters
-
in scaling
The scaling vector.
Return value
Returns the constructed matrix.
Float3x3 make_scaling(const Float2 &scaling)
Constructs one 2D scaling matrix from one scaling vector.
in scaling
The scaling vector.
Returns the constructed matrix.