vec: add one and zero helpers for vectors

This commit is contained in:
Recep Aslantas
2018-04-13 11:57:14 +03:00
parent c489955b00
commit 25fc3d0284
13 changed files with 165 additions and 2 deletions

View File

@@ -24,6 +24,14 @@ CGLM_EXPORT
void
glmc_vec_copy(vec3 a, vec3 dest);
CGLM_EXPORT
void
glmc_vec_zero(vec3 v);
CGLM_EXPORT
void
glmc_vec_one(vec3 v);
CGLM_EXPORT
float
glmc_vec_dot(vec3 a, vec3 b);