mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
vec: use _negate instead of _flipsign and _inv
* negate is better and common name, flipsign is deprecated now.
This commit is contained in:
@@ -160,7 +160,7 @@ glm_inv_tr(mat4 mat) {
|
||||
|
||||
/* translate */
|
||||
glm_mat3_mulv(r, mat[3], t);
|
||||
glm_vec_flipsign(t);
|
||||
glm_vec_negate(t);
|
||||
glm_vec_copy(t, mat[3]);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user