Skip to content

shz_mat4x3_t

Markdown
typedef struct shz_mat4x3 {
union {
float elem[12];
float elem2D[3][4];
shz_vec4_t col[3];
struct {
shz_vec4_t left;
shz_vec4_t up;
shz_vec4_t forward;
};
};
} shz_mat4x3_t;

Structure representing a 4x3 column-major matrix.

FieldTypeDescription
elemfloat[12]
elem2Dfloat[3][4]
colshz_vec4_t[3]
leftshz_vec4_t
upshz_vec4_t
forwardshz_vec4_t
  • C++ equivalent: none (usable from C++ as is)
  • Back-ends: n/a (not a function)
  • Defined in: sh4zam/shz_matrix.h:927
  • Module: Matrix, section "Types"