upload so it isnt lost now
This commit is contained in:
9
data/scripts/math.lua
Normal file
9
data/scripts/math.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
function math.sign(x)
|
||||
if x<0 then
|
||||
return -1
|
||||
elseif x>0 then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user