convert PI to float to suppress warnings

This commit is contained in:
Recep Aslantas
2017-01-14 12:22:23 +02:00
parent 68657ec2cc
commit 170e2e9fcc
4 changed files with 12 additions and 8 deletions

View File

@@ -146,7 +146,7 @@ glm_perspective_default(mat4 dest) {
int32_t rect[4];
glm_platfom_get_viewport_rect(rect);
glm_perspective((float)M_PI_4,
glm_perspective((float)CGLM_PI_4,
(float)rect[2]/rect[3],
0.01f,
100.0f,