do local oldSin = math.sin local degToRad = math.pi / 180 math.sin = function (x) return oldSin(x * degToRad) end end print("sin 30 = " .. math.sin(30))
No comments:
Post a Comment