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
This commit is contained in:
Sundaram Ramaswamy
2021-06-07 11:23:44 +05:30
parent 4d2ba464a0
commit 32d1c96dc0

View File

@@ -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:
* ----------------------------------------------------------------------------