From 3399595dc261c937f883b982d4eb8dd792077e46 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Tue, 3 Apr 2018 10:46:46 +0300 Subject: [PATCH] add vec2 type --- include/cglm/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cglm/types.h b/include/cglm/types.h index a4170c4..c411d8b 100644 --- a/include/cglm/types.h +++ b/include/cglm/types.h @@ -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];