Topaz 5.0
Topaz Game Engine
|
Represents the generic matrix.
#include "matrix.hpp"
Public Member Functions | |
matrix< T, N > | inverse () const |
Create a matrix that causes the inverse transformation. Such that the product of this and the result are the identity matrix. | |
matrix< T, N > | transpose () const |
Retrieve a copy of this matrix but with its rows and columns swapped. | |
Static Public Member Functions | |
static constexpr matrix< T, N > | zero () |
Retrieve a matrix filled with zeroes. | |
static constexpr matrix< T, N > | iden () |
Retrieve an identity matrix that represents no transform. | |
static constexpr matrix< T, N > | filled (T t) |
Retrieve a matrix filled with the given value. | |
|
inlinestaticconstexpr |
Retrieve a matrix filled with zeroes.
|
inlinestaticconstexpr |
Retrieve an identity matrix that represents no transform.
|
inlinestaticconstexpr |
Retrieve a matrix filled with the given value.
matrix< T, N > tz::matrix< T, N >::inverse | ( | ) | const |
Create a matrix that causes the inverse transformation. Such that the product of this and the result are the identity matrix.
matrix< T, N > tz::matrix< T, N >::transpose | ( | ) | const |
Retrieve a copy of this matrix but with its rows and columns swapped.