shz_mat2x2_t
typedef SHZ_ALIGNAS(8) struct shz_mat2x2 { union { float elem[4]; float elem2D[2][2]; shz_vec2_t col[2]; };} shz_mat2x2_t;Structure representing a 2x2 column-major matrix.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
elem | float[4] | |
elem2D | float[2][2] | |
col | shz_vec2_t[2] |
Warnings
Section titled “Warnings”- This structure MUST be aligned on 8-byte boundaries!
Availability
Section titled “Availability”- C++ equivalent: none (usable from C++ as is)
- Back-ends: n/a (not a function)
- Defined in:
sh4zam/shz_matrix.h:889 - Module: Matrix, section "Types"