mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Makes math helpers defines for performance
This commit is contained in:
@@ -130,9 +130,9 @@
|
||||
|
||||
var/offset = 0
|
||||
var/points = round((radius * 2 * M_PI) / arcLength)
|
||||
var/angle = round(ToDegrees(arcLength / radius), 1)
|
||||
var/angle = round(TODEGREES(arcLength / radius), 1)
|
||||
|
||||
if(!IsInteger(radius))
|
||||
if(!ISINTEGER(radius))
|
||||
offset = 45 //degrees
|
||||
|
||||
for(var/j = 0, j < points, j++)
|
||||
|
||||
Reference in New Issue
Block a user