Luna::Float3x2U
Unaligned 3x2 matrix with f32 elements.
struct Luna::Float3x2U
This can be used to store 3x3 affine matrices since the third column is always (0, 0, 1), which can be removed to reduce memory size.
Member objects
-
The array of rows of the matrix.
Member functions
-
Constructs one matrix with components uninitialized.
-
Float3x2U(const Float3x2U &)=default
Constructs one matrix by coping components from another matrix.
-
Float3x2U(Float3x2U &&)=default
Assigns one matrix by coping components from another matrix.
-
Float3x2U & operator=(const Float3x2U &)=default
Constructs one matrix by coping components from another matrix.
-
Float3x2U & operator=(Float3x2U &&)=default
Assigns one matrix by coping components from another matrix.
-
Float3x2U(const Float3x3 &rhs)
Constructs one matrix by coping components from a Float3x3 matrix.
-
Float3x2U & operator=(const Float3x3 &rhs)
Assigns one matrix by coping components from a Float3x3 matrix.
-
Float3x3 to_float3x3(const Float3 &column3=Float3(0.0f, 0.0f, 1.0f)) const
Constructs one Float3x3 matrix from this matrix.