mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
add vec2 type
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef float vec2[2];
|
||||||
typedef float vec3[3];
|
typedef float vec3[3];
|
||||||
typedef int ivec3[3];
|
typedef int ivec3[3];
|
||||||
typedef CGLM_ALIGN(16) float vec4[4];
|
typedef CGLM_ALIGN(16) float vec4[4];
|
||||||
|
|||||||
Reference in New Issue
Block a user