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:
parent
d85d969dce
commit
b94f65ba51
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user