Wildvine Engine
Referencia Doxygen del codigo propio de Wildvine Engine.
Cargando...
Buscando...
Nada coincide
Referencia de la clase EU::Matrix4x4

A 4x4 matrix class. Más...

#include <Matrix4x4.h>

Métodos públicos

float determinant () const
 Computes the determinant of the matrix.
 
 Matrix4x4 ()
 
 Matrix4x4 ()
 Default constructor.
 
 Matrix4x4 (const Matrix4x4 &other)
 
 Matrix4x4 (float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, float a41, float a42, float a43, float a44)
 Parameterized constructor.
 
Matrix4x4 operator* (const Matrix4x4 &other) const
 Multiplies this matrix by another matrix.
 
Matrix4x4 operator+ (const Matrix4x4 &other) const
 Adds another matrix to this matrix.
 
Matrix4x4 operator- (const Matrix4x4 &other) const
 Subtracts another matrix from this matrix.
 

Atributos públicos

float m [4][4]
 The elements of the matrix.
 

Descripción detallada

This class represents a 4x4 matrix and provides basic matrix operations such as addition, subtraction, multiplication, determinant calculation, and inversion.

Definición en la línea 42 del archivo Matrix4x4.h.

Documentación de constructores y destructores

◆ Matrix4x4() [1/4]

EU::Matrix4x4::Matrix4x4 ( )
inline

Definición en la línea 47 del archivo Matrix4x4.h.

Hace referencia a m.

Referenciado por operator*(), operator+() y operator-().

◆ Matrix4x4() [2/4]

EU::Matrix4x4::Matrix4x4 ( )
inline

Initializes the matrix to the identity matrix.

Definición en la línea 60 del archivo Matrix4x4.h.

Hace referencia a m.

◆ Matrix4x4() [3/4]

EU::Matrix4x4::Matrix4x4 ( float  a11,
float  a12,
float  a13,
float  a14,
float  a21,
float  a22,
float  a23,
float  a24,
float  a31,
float  a32,
float  a33,
float  a34,
float  a41,
float  a42,
float  a43,
float  a44 
)
inline

Initializes the matrix with the given values.

Parámetros
a11Element at row 1, column 1.
a12Element at row 1, column 2.
a13Element at row 1, column 3.
a14Element at row 1, column 4.
a21Element at row 2, column 1.
a22Element at row 2, column 2.
a23Element at row 2, column 3.
a24Element at row 2, column 4.
a31Element at row 3, column 1.
a32Element at row 3, column 2.
a33Element at row 3, column 3.
a34Element at row 3, column 4.
a41Element at row 4, column 1.
a42Element at row 4, column 2.
a43Element at row 4, column 3.
a44Element at row 4, column 4.

Definición en la línea 90 del archivo Matrix4x4.h.

Hace referencia a m.

◆ Matrix4x4() [4/4]

EU::Matrix4x4::Matrix4x4 ( const Matrix4x4 other)
inline

Definición en la línea 101 del archivo Matrix4x4.h.

Hace referencia a m.

Documentación de funciones miembro

◆ determinant()

float EU::Matrix4x4::determinant ( ) const
inline
Devuelve
The determinant of the matrix.

Definición en la línea 174 del archivo Matrix4x4.h.

Hace referencia a m.

◆ operator*()

Matrix4x4 EU::Matrix4x4::operator* ( const Matrix4x4 other) const
inline
Parámetros
otherThe matrix to multiply by.
Devuelve
The result of the multiplication.

Definición en la línea 145 del archivo Matrix4x4.h.

Hace referencia a m y Matrix4x4().

◆ operator+()

Matrix4x4 EU::Matrix4x4::operator+ ( const Matrix4x4 other) const
inline
Parámetros
otherThe matrix to add.
Devuelve
The result of the addition.

Definición en la línea 115 del archivo Matrix4x4.h.

Hace referencia a m y Matrix4x4().

◆ operator-()

Matrix4x4 EU::Matrix4x4::operator- ( const Matrix4x4 other) const
inline
Parámetros
otherThe matrix to subtract.
Devuelve
The result of the subtraction.

Definición en la línea 130 del archivo Matrix4x4.h.

Hace referencia a m y Matrix4x4().

Documentación de datos miembro

◆ m

float EU::Matrix4x4::m[4][4]

Definición en la línea 44 del archivo Matrix4x4.h.

Referenciado por determinant(), Matrix4x4(), Matrix4x4(), Matrix4x4(), operator*(), operator+() y operator-().


La documentación de esta clase está generada del siguiente archivo: