mirror of
https://github.com/recp/cglm.git
synced 2025-12-25 04:44:58 +00:00
inverse (opposite) of vectors
This commit is contained in:
12
src/vec3.c
12
src/vec3.c
@@ -80,6 +80,18 @@ glmc_vec_flipsign(vec3 v) {
|
||||
glm_vec_flipsign(v);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_inv(vec3 v) {
|
||||
glm_vec_inv(v);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec_inv_to(vec3 v, vec3 dest) {
|
||||
glm_vec_inv_to(v, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
float
|
||||
glmc_vec_angle(vec3 v1, vec3 v2) {
|
||||
|
||||
Reference in New Issue
Block a user