add vec2 type

This commit is contained in:
Recep Aslantas
2018-04-03 10:46:46 +03:00
parent 780179ff0d
commit 3399595dc2

View File

@@ -14,6 +14,7 @@
# define CGLM_ALIGN(X) __attribute((aligned(X)))
#endif
typedef float vec2[2];
typedef float vec3[3];
typedef int ivec3[3];
typedef CGLM_ALIGN(16) float vec4[4];