Merge pull request #338 from EasyIP2023/feature/mat4x3

add new matrix mat4x3
This commit is contained in:
Recep Aslantas
2023-07-18 09:09:00 +03:00
committed by GitHub
24 changed files with 318 additions and 0 deletions

View File

@@ -281,4 +281,17 @@ typedef union mat4x2s {
#endif
} mat4x2s;
typedef union mat4x3s {
mat4x3 raw;
vec3s col[4]; /* [col (4), row (3)] */
#if CGLM_USE_ANONYMOUS_STRUCT
struct {
float m00, m01, m02;
float m10, m11, m12;
float m20, m21, m22;
float m30, m31, m32;
};
#endif
} mat4x3s;
#endif /* cglm_types_struct_h */