Skip to content

shz_mat3x3_t

Markdown
typedef struct shz_mat3x3 {
union {
float elem[9];
float elem2D[3][3];
shz_vec3_t col[3];
struct {
shz_vec3_t left;
shz_vec3_t up;
shz_vec3_t forward;
};
};
} shz_mat3x3_t;

Structure representing a 3x3 column-major matrix.

FieldTypeDescription
elemfloat[9]
elem2Dfloat[3][3]
colshz_vec3_t[3]
leftshz_vec3_t
upshz_vec3_t
forwardshz_vec3_t
  • C++ equivalent: none (usable from C++ as is)
  • Back-ends: n/a (not a function)
  • Defined in: sh4zam/shz_matrix.h:898
  • Module: Matrix, section "Types"