mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
[Core] Grammar, move defs to defs
Math constant definitions belong in `math_defs.h`. Also, the grammer in these files really needed some updating.
This commit is contained in:
@@ -39,13 +39,6 @@
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
#define Math_PI 3.14159265358979323846
|
||||
#define Math_TAU 6.28318530717958647692
|
||||
#define Math_SQRT12 0.7071067811865475244008443621048490
|
||||
#define Math_LN2 0.693147180559945309417
|
||||
#define Math_INF INFINITY
|
||||
#define Math_NAN NAN
|
||||
|
||||
class Math {
|
||||
|
||||
static pcg32_random_t default_pcg;
|
||||
|
||||
Reference in New Issue
Block a user