mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 20:34:58 +00:00
add vec2 type
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user