Fixed formerly broken lume.angle(), version 1.0.7

This commit is contained in:
rxi 2014-03-01 20:27:33 +00:00
parent ba6bb964b0
commit d65556bc83

View File

@ -7,7 +7,7 @@
-- under the terms of the MIT license. See LICENSE for details. -- under the terms of the MIT license. See LICENSE for details.
-- --
local lume = { _version = "1.0.6" } local lume = { _version = "1.0.7" }
function lume.clamp(x, min, max) function lume.clamp(x, min, max)
@ -47,7 +47,7 @@ end
function lume.angle(x1, y1, x2, y2) function lume.angle(x1, y1, x2, y2)
return math.atan2(x1 - x2, y1 - y2) return math.atan2(y2 - y1, x2 - x1)
end end