vec: deprecate glm_vec_inv and glm_vec4_inv

* because in the current implementation, `glm_vec3_negate` does same thing. It is duplicate.
This commit is contained in:
Recep Aslantas
2018-11-29 09:23:14 +03:00
parent b4bf8f3537
commit aee381d869
8 changed files with 60 additions and 133 deletions

View File

@@ -158,18 +158,6 @@ glmc_vec3_negate_to(vec3 v, vec3 dest) {
glm_vec3_negate_to(v, dest);
}
CGLM_EXPORT
void
glmc_vec3_inv(vec3 v) {
glm_vec3_inv(v);
}
CGLM_EXPORT
void
glmc_vec3_inv_to(vec3 v, vec3 dest) {
glm_vec3_inv_to(v, dest);
}
CGLM_EXPORT
float
glmc_vec3_angle(vec3 v1, vec3 v2) {

View File

@@ -164,18 +164,6 @@ glmc_vec4_negate_to(vec4 v, vec4 dest) {
glm_vec4_negate_to(v, dest);
}
CGLM_EXPORT
void
glmc_vec4_inv(vec4 v) {
glm_vec4_inv(v);
}
CGLM_EXPORT
void
glmc_vec4_inv_to(vec4 v, vec4 dest) {
glm_vec4_inv_to(v, dest);
}
CGLM_EXPORT
float
glmc_vec4_distance(vec4 v1, vec4 v2) {