Fixed 'missing-prototypes' warnings for some vec2 funcs.

Using gcc and missing-prototypes flag shows warnings for:
glmc_vec2_fill, glmc_vec2_eq and glmc_vec2_eqv. 
Seems they were not added to call/vec2.h for some reason. This should fix the warnings.
This commit is contained in:
Kaz
2024-06-09 11:06:18 +02:00
committed by GitHub
parent a93a9ef9a2
commit 5b2c37f73b

View File

@@ -17,6 +17,18 @@ CGLM_EXPORT
void
glmc_vec2(float * __restrict v, vec2 dest);
CGLM_EXPORT
void
glmc_vec2_fill(vec2 v, float val);
CGLM_EXPORT
bool
glmc_vec2_eq(vec2 v, float val);
CGLM_EXPORT
bool
glmc_vec2_eqv(vec2 a, vec2 b);
CGLM_EXPORT
void
glmc_vec2_copy(vec2 a, vec2 dest);