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:
Zulker Nayeen Nahiyan
2015-01-10 03:47:11 +06:00
parent 203a7f1092
commit ab9210a1f9
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -165,7 +165,7 @@
continue
var/offset = 0
var/points = round((radius * 2 * PI) / arcLength)
var/points = round((radius * 2 * M_PI) / arcLength)
var/angle = round(ToDegrees(arcLength / radius), 1)
if(!IsInteger(radius))