mat2: implement some mat2 func

* also implement as SSE
This commit is contained in:
Recep Aslantas
2019-06-19 23:35:38 +03:00
parent 047ed259ae
commit ad823d9681
5 changed files with 241 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ typedef int ivec3[3];
typedef CGLM_ALIGN_IF(16) float vec4[4];
typedef vec4 versor;
typedef vec3 mat3[3];
// typedef vec4 mat2;
typedef CGLM_ALIGN_IF(16) vec2 mat2[2];
#ifdef __AVX__
typedef CGLM_ALIGN_IF(32) vec4 mat4[4];