![]() |
SH4ZAM! 0.1.0
Fast math library for the Sega Dreamcast's SH4 CPU
|
#include <shz_matrix.h>


Data Fields | ||
| union { | ||
| float elem [16] | ||
| float elem2D [4][4] | ||
| shz_vec4_t col [4] | ||
| struct { | ||
| shz_vec4_t left | ||
| shz_vec4_t up | ||
| shz_vec4_t forward | ||
| shz_vec4_t pos | ||
| } | ||
| }; | ||
Structure representing a 4x4 column-major matrix.
Definition at line 73 of file shz_matrix.h.
| float shz_mat4x4_t::elem[16] |
< Inner convenience union.
Access the matrix as a 1D array of 16 single-precision floats.
Definition at line 75 of file shz_matrix.h.
| float shz_mat4x4_t::elem2D[4][4] |
Access the matrix as a 2D array of 4x4 single-precision floats.
Definition at line 76 of file shz_matrix.h.
| shz_vec4_t shz_mat4x4_t::col[4] |
Access the matrix as an array of 4 1x4 column vectors.
Definition at line 77 of file shz_matrix.h.
| shz_vec4_t shz_mat4x4_t::left |
< Named column vectors.
Access the first column of the matrix as a 1x4 vector.
Definition at line 79 of file shz_matrix.h.
| shz_vec4_t shz_mat4x4_t::up |
Access the second column of the matrix as a 1x4 vector.
Definition at line 80 of file shz_matrix.h.
| shz_vec4_t shz_mat4x4_t::forward |
Access the third column of the matrix as a 1x4 vector.
Definition at line 81 of file shz_matrix.h.
| shz_vec4_t shz_mat4x4_t::pos |
Access the last column of the matrix as a 1x4 vector.
Definition at line 82 of file shz_matrix.h.