Fix gb_math.h constants
This commit is contained in:
parent
03abd6fd3c
commit
cf7d2e06ee
|
@ -3,6 +3,7 @@
|
|||
use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
|
||||
|
||||
Version History:
|
||||
0.07f - Fix constants
|
||||
0.07e - Fixed a warning
|
||||
0.07d - Fix mat4_inverse
|
||||
0.07c - Add gb_random01
|
||||
|
@ -168,14 +169,14 @@ typedef short gbHalf;
|
|||
|
||||
#define GB_MATH_TAU 6.28318530717958647692528676655900576f
|
||||
#define GB_MATH_PI 3.14159265358979323846264338327950288f
|
||||
#define GB_MATH_ONE_OVER_TAU 0.636619772367581343075535053490057448f
|
||||
#define GB_MATH_ONE_OVER_PI 0.159154943091895335768883763372514362f
|
||||
#define GB_MATH_ONE_OVER_TAU 0.159154943091895335768883763372514362f
|
||||
#define GB_MATH_ONE_OVER_PI 0.318309886183790671537767526745028724f
|
||||
|
||||
#define GB_MATH_TAU_OVER_2 3.14159265358979323846264338327950288f
|
||||
#define GB_MATH_TAU_OVER_4 1.570796326794896619231321691639751442f
|
||||
#define GB_MATH_TAU_OVER_8 0.785398163397448309615660845819875721f
|
||||
|
||||
#define GB_MATH_E 2.71828182845904523536f
|
||||
#define GB_MATH_E 2.7182818284590452353602874713526625f
|
||||
#define GB_MATH_SQRT_TWO 1.41421356237309504880168872420969808f
|
||||
#define GB_MATH_SQRT_THREE 1.73205080756887729352744634150587236f
|
||||
#define GB_MATH_SQRT_FIVE 2.23606797749978969640917366873127623f
|
||||
|
|
Loading…
Reference in New Issue