mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 10:35:10 +00:00
convert PI to float to suppress warnings
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user