vec: use _negate instead of _flipsign and _inv

This commit is contained in:
Recep Aslantas
2018-11-28 10:50:21 +03:00
parent 463099350a
commit 9af61d2101

View File

@@ -481,7 +481,7 @@ glm_vec_negate(vec3 v) {
CGLM_INLINE
void
glm_vec_inv(vec3 v) {
glm_vec_flipsign(v);
glm_vec_negate(v);
}
/*!
@@ -493,7 +493,7 @@ glm_vec_inv(vec3 v) {
CGLM_INLINE
void
glm_vec_inv_to(vec3 v, vec3 dest) {
glm_vec_flipsign_to(v, dest);
glm_vec_negate_to(v, dest);
}
/*!