new abs functions for vec2, ivec2, ivec3, ivec4

This commit is contained in:
duarm
2022-11-18 14:28:39 -03:00
parent 8cfc98d283
commit a0f01c5ed1
17 changed files with 177 additions and 1 deletions

View File

@@ -97,3 +97,10 @@ void
glmc_ivec3_clamp(ivec3 v, int minVal, int maxVal) {
glm_ivec3_clamp(v, minVal, maxVal);
}
CGLM_EXPORT
void
glmc_ivec3_abs(ivec3 v, ivec3 dest) {
glm_ivec3_abs(v, dest);
}