Replace the use of deprecated CGLM_PI* constants

This commit is contained in:
Carsten Hartenfels
2018-09-21 07:34:05 +02:00
parent 3fd12032e6
commit b9021978cb
6 changed files with 31 additions and 31 deletions

View File

@@ -689,7 +689,7 @@ glm_quat_for(vec3 dir, vec3 fwd, vec3 up, versor dest) {
dot = glm_vec_dot(dir, fwd);
if (fabsf(dot + 1.0f) < 0.000001f) {
glm_quat_init(dest, up[0], up[1], up[2], CGLM_PI);
glm_quat_init(dest, up[0], up[1], up[2], GLM_PIf);
return;
}