mirror of
https://github.com/recp/cglm.git
synced 2026-11-19 10:33:09 -06:00
new abs functions for vec2, ivec2, ivec3, ivec4
This commit is contained in:
1 parent
8cfc98d283
commit
a0f01c5ed1
17 files changed
+177
-1
No files matched your search
@@ -206,6 +206,12 @@ glmc_vec2_clamp(vec2 v, float minval, float maxval) {
|
||||
glm_vec2_clamp(v, minval, maxval);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec2_abs(vec2 v, vec2 dest) {
|
||||
glm_vec2_abs(v, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec2_lerp(vec2 from, vec2 to, float t, vec2 dest) {
|
||||
|
||||
Reference in new issue
Block a user