mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 02:25:02 +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:
12
src/vec3.c
12
src/vec3.c
@@ -158,6 +158,18 @@ glmc_vec_flipsign_to(vec3 v, vec3 dest) {
|
||||
glm_vec_flipsign_to(v, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_negate(vec3 v) {
|
||||
glm_vec_negate(v);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_negate_to(vec3 v, vec3 dest) {
|
||||
glm_vec_negate_to(v, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_inv(vec3 v) {
|
||||
|
||||
Reference in New Issue
Block a user