vec: minnadd and maxadd helpers

This commit is contained in:
Recep Aslantas
2018-11-29 10:50:24 +03:00
parent 4e08b7e335
commit 6d6954b208
9 changed files with 184 additions and 18 deletions

View File

@@ -112,6 +112,14 @@ CGLM_EXPORT
void
glmc_vec3_muladds(vec3 a, float s, vec3 dest);
CGLM_EXPORT
void
glmc_vec3_maxadd(vec3 a, vec3 b, vec3 dest);
CGLM_EXPORT
void
glmc_vec3_minadd(vec3 a, vec3 b, vec3 dest);
CGLM_EXPORT
void
glmc_vec3_negate(vec3 v);