mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
Use even more precise definitions for pi constants
See https://github.com/recp/cglm/pull/61#issuecomment-422955122
This commit is contained in:
@@ -48,8 +48,8 @@ typedef CGLM_ALIGN_IF(16) vec4 mat4[4];
|
||||
|
||||
typedef vec4 versor;
|
||||
|
||||
#define CGLM_PI ((float)3.14159265358979323846)
|
||||
#define CGLM_PI_2 ((float)1.57079632679489661923)
|
||||
#define CGLM_PI_4 ((float)0.78539816339744830962)
|
||||
#define CGLM_PI ((float)3.14159265358979323846264338327950288)
|
||||
#define CGLM_PI_2 ((float)1.57079632679489661923132169163975144)
|
||||
#define CGLM_PI_4 ((float)0.785398163397448309615660845819875721)
|
||||
|
||||
#endif /* cglm_types_h */
|
||||
|
Reference in New Issue
Block a user