Merge branch 'master' into proj

This commit is contained in:
Recep Aslantas
2018-04-03 12:30:03 +03:00
committed by GitHub
28 changed files with 677 additions and 238 deletions

View File

@@ -20,6 +20,12 @@ glmc_euler(vec3 angles, mat4 dest) {
glm_euler(angles, dest);
}
CGLM_EXPORT
void
glmc_euler_xyz(vec3 angles, mat4 dest) {
glm_euler_xyz(angles, dest);
}
CGLM_EXPORT
void
glmc_euler_zyx(vec3 angles, mat4 dest) {

View File

@@ -139,3 +139,9 @@ void
glmc_vec_minv(vec3 v1, vec3 v2, vec3 dest) {
glm_vec_maxv(v1, v2, dest);
}
CGLM_EXPORT
void
glmc_vec_clamp(vec3 v, float minVal, float maxVal) {
glm_vec_clamp(v, minVal, maxVal);
}

View File

@@ -109,3 +109,9 @@ void
glmc_vec4_minv(vec4 v1, vec4 v2, vec4 dest) {
glm_vec4_maxv(v1, v2, dest);
}
CGLM_EXPORT
void
glmc_vec4_clamp(vec4 v, float minVal, float maxVal) {
glm_vec4_clamp(v, minVal, maxVal);
}