1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Update math_fix.lua

This commit is contained in:
Valansch 2018-09-28 17:37:09 +02:00 committed by GitHub
parent d85d969dce
commit b94f65ba51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,8 @@ math.sin = function(x)
if x > 180 then sign = - sign end
x = x % 180
if x == 0 then return 0 end
local a = (x * (180 - x)
return sign * 4 * a / (40500 - a))
local a = x * (180 - x)
return sign * 4 * a / (40500 - a)
end
math.cos = function(x)