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

@@ -23,4 +23,8 @@ typedef vec4 mat4[4];
typedef vec4 versor;
#define CGLM_PI (float)M_PI
#define CGLM_PI_2 (float)M_PI_2
#define CGLM_PI_4 (float)M_PI_4
#endif /* cglm_types_h */