Math::Matrix4 struct

A 4x4 matrix.

Derived classes

struct UTFWin::Window::UnkMatrix4

Constructors, destructors, conversion operators

Matrix4(const Matrix4& other)

Public functions

auto SetIdentity() -> Matrix4&
Turns this matrix into the identity matrix (1.0s in the diagonal, everything else 0.0s) Multiplying a matrix/vector with an identity matrix has no effect.
auto Transposed() const -> Matrix4
Returns the transpose of this matrix, switching the rows and columns. transposed[i][j] = matrix[j][i]
auto To3x3() const -> Matrix3
Returns the 3x3 part of this matrix, leaving the last column and row.

Public variables

float m