Skip to content

shz_mat3x4_t

Markdown
typedef struct shz_mat3x4 {
union {
float elem[12];
float elem2D[4][3];
shz_vec3_t col[4];
struct {
shz_vec3_t left;
shz_vec3_t up;
shz_vec3_t forward;
shz_vec3_t pos;
};
};
} shz_mat3x4_t;

Structure representing a 3x4 column-major matrix.

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