|
Wildvine Engine
Referencia Doxygen del codigo propio de Wildvine Engine.
|
A 3x3 matrix class. Más...
#include <Matrix3x3.h>
Métodos públicos | |
| float | determinant () const |
| Calculates the determinant of the matrix. | |
| Matrix3x3 | inverse () const |
| Calculates the inverse of the matrix. | |
| Matrix3x3 () | |
| Default constructor. | |
| Matrix3x3 (float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33) | |
| Parameterized constructor. | |
| Matrix3x3 | operator* (const Matrix3x3 &other) const |
| Multiplies this matrix by another matrix. | |
| Matrix3x3 | operator* (float scalar) const |
| Multiplies this matrix by a scalar. | |
| Matrix3x3 | operator+ (const Matrix3x3 &other) const |
| Adds another matrix to this matrix. | |
| Matrix3x3 | operator- (const Matrix3x3 &other) const |
| Subtracts another matrix from this matrix. | |
Atributos públicos | |
| float | m [3][3] |
| The elements of the matrix. | |
This class represents a 3x3 matrix and provides basic matrix operations such as addition, subtraction, multiplication, determinant calculation, and inversion.
Definición en la línea 42 del archivo Matrix3x3.h.
|
inline |
Initializes the matrix to the identity matrix.
Definición en la línea 51 del archivo Matrix3x3.h.
Hace referencia a m.
Referenciado por inverse(), operator*(), operator*(), operator+() y operator-().
|
inline |
Initializes the matrix with the given values.
| a11 | Element at row 1, column 1. |
| a12 | Element at row 1, column 2. |
| a13 | Element at row 1, column 3. |
| a21 | Element at row 2, column 1. |
| a22 | Element at row 2, column 2. |
| a23 | Element at row 2, column 3. |
| a31 | Element at row 3, column 1. |
| a32 | Element at row 3, column 2. |
| a33 | Element at row 3, column 3. |
Definición en la línea 72 del archivo Matrix3x3.h.
Hace referencia a m.
|
inline |
Definición en la línea 139 del archivo Matrix3x3.h.
Hace referencia a m.
Referenciado por inverse().
|
inline |
Definición en la línea 150 del archivo Matrix3x3.h.
Hace referencia a determinant(), m y Matrix3x3().
| other | The matrix to multiply by. |
Definición en la línea 112 del archivo Matrix3x3.h.
Hace referencia a m y Matrix3x3().
|
inline |
| scalar | The scalar to multiply by. |
Definición en la línea 126 del archivo Matrix3x3.h.
Hace referencia a m y Matrix3x3().
| other | The matrix to add. |
Definición en la línea 84 del archivo Matrix3x3.h.
Hace referencia a m y Matrix3x3().
| other | The matrix to subtract. |
Definición en la línea 98 del archivo Matrix3x3.h.
Hace referencia a m y Matrix3x3().
| float EU::Matrix3x3::m[3][3] |
Definición en la línea 44 del archivo Matrix3x3.h.
Referenciado por determinant(), inverse(), Matrix3x3(), Matrix3x3(), operator*(), operator*(), operator+() y operator-().