|
Vecmat 0.2.3
C math and linear algebra library for 2D/3D graphics, physics, and science.
|
#include <vecmat.h>Go to the source code of this file.
Functions | |
| matrix3i | mat3i_identity (void) |
| Constructs the 3x3 identity matrix. | |
| matrix3i | mat3i_mul (const matrix3i a, const matrix3i b) |
| Multiplies two 3x3 integer matrices. | |
| matrix3i | mat3i_transpose (const matrix3i m) |
| Computes the transpose of a 3x3 integer matrix. | |
| vm_int_t | mat3i_determinant (const matrix3i m) |
| Computes the determinant of a 3x3 integer matrix. | |
| matrix3i | mat3i_inverse (const matrix3i m) |
| Computes the inverse of a 3x3 integer matrix. | |
| vector3i | mat3i_mul_vec3i (const matrix3i m, const vector3i v) |
| Multiplies a 3x3 integer matrix by a vector3i. | |
| vector2i | mat3i_mul_vec2i (const matrix3i m, const vector2i v) |
| Applies a 3x3 integer affine transform to a vector2i. | |
Computes the determinant of a 3x3 integer matrix.
| m | The input matrix. |
Definition at line 58 of file matrix3i.c.
References matrix3i::v.
Referenced by mat3i_inverse_ptr().
| matrix3i mat3i_identity | ( | void | ) |
Constructs the 3x3 identity matrix.
See mat3i_identity_ptr instead.
Definition at line 14 of file matrix3i.c.
References mat3i_identity_ptr().
Computes the inverse of a 3x3 integer matrix.
See mat3i_inverse_ptr instead.
| m | The input matrix. |
Definition at line 73 of file matrix3i.c.
References mat3i_inverse_ptr().
Multiplies two 3x3 integer matrices.
See mat3i_mul_ptr instead.
| a | The first matrix. |
| b | The second matrix. |
Definition at line 30 of file matrix3i.c.
References mat3i_mul_ptr().
Applies a 3x3 integer affine transform to a vector2i.
See mat3i_mul_vec2i_ptr instead.
| m | Input matrix. |
| v | Input vector. |
Definition at line 105 of file matrix3i.c.
References mat3i_mul_vec2i_ptr().
Multiplies a 3x3 integer matrix by a vector3i.
See mat3i_mul_vec3i_ptr instead.
| m | Input matrix. |
| v | Input vector. |
Definition at line 89 of file matrix3i.c.
References mat3i_mul_vec3i_ptr().
Computes the transpose of a 3x3 integer matrix.
See mat3i_transpose_ptr instead.
| m | The input matrix. |
Definition at line 45 of file matrix3i.c.
References mat3i_transpose_ptr().