mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
Fix compile errors, rename mathematical constants to M_PI etc.
`setup.dm`: Renamed `PI`, `E` and `Sqrt2` macros to `M_PI`, `M_E` and `M_SQRT2` Others: Changed the macro usage accordingly: `PI` -> `M_PI`
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
#define DEBUG
|
||||
|
||||
// Math constants.
|
||||
#define E 2.71828183
|
||||
#define PI 3.14159265
|
||||
#define Sqrt2 1.41421356
|
||||
#define M_E 2.71828183
|
||||
#define M_PI 3.14159265
|
||||
#define M_SQRT2 1.41421356
|
||||
|
||||
#define R_IDEAL_GAS_EQUATION 8.31 // kPa*L/(K*mol).
|
||||
#define ONE_ATMOSPHERE 101.325 // kPa.
|
||||
|
||||
Reference in New Issue
Block a user