add new matrix mat3x2

Initial function being

glm_mat3x2_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
Vincent Davis Jr
2023-07-15 18:48:50 -04:00
parent f817c4cbb0
commit 4e44e74d48
24 changed files with 302 additions and 0 deletions

View File

@@ -231,6 +231,18 @@ typedef union mat3s {
#endif
} mat3s;
typedef union mat3x2s {
mat3x2 raw;
vec2s col[3]; /* col -> row | [row (3), col (2)] */
#if CGLM_USE_ANONYMOUS_STRUCT
struct {
float m00, m01;
float m10, m11;
float m20, m21;
};
#endif
} mat3x2s;
typedef union CGLM_ALIGN_MAT mat4s {
mat4 raw;
vec4s col[4];