add call version for clamp

This commit is contained in:
Recep Aslantas committed 2018-03-22 21:18:08 +03:00
1 parent 86055097e1
commit 48b7b30e42
6 files changed
+22

No files matched your search

+6
View File
@@ -139,3 +139,9 @@ void
glmc_vec_minv(vec3 v1, vec3 v2, vec3 dest) {
glm_vec_maxv(v1, v2, dest);
}
CGLM_EXPORT
void
glmc_vec_clamp(vec3 v, float minVal, float maxVal) {
glm_vec_clamp(v, minVal, maxVal);
}