From 32d1c96dc0745abfb7957f1e463e063ba75464cd Mon Sep 17 00:00:00 2001 From: Sundaram Ramaswamy Date: Mon, 7 Jun 2021 11:23:44 +0530 Subject: [PATCH] Include affine.h in quat.h; remove needless decls * affine.h is needed for glm_translate_make * Remove function declarations - glm_mat4_mulv since mat4.h is already included - glm_mul_rot as affine-mat.h is already include - glm_translate as affine.h is included with this change --- include/cglm/quat.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/include/cglm/quat.h b/include/cglm/quat.h index 670fdab..f531344 100644 --- a/include/cglm/quat.h +++ b/include/cglm/quat.h @@ -59,6 +59,7 @@ #include "mat4.h" #include "mat3.h" #include "affine-mat.h" +#include "affine.h" #ifdef CGLM_SSE_FP # include "simd/sse2/quat.h" @@ -68,18 +69,6 @@ # include "simd/neon/quat.h" #endif -CGLM_INLINE -void -glm_mat4_mulv(mat4 m, vec4 v, vec4 dest); - -CGLM_INLINE -void -glm_mul_rot(mat4 m1, mat4 m2, mat4 dest); - -CGLM_INLINE -void -glm_translate(mat4 m, vec3 v); - /* * IMPORTANT: * ----------------------------------------------------------------------------