Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tween.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ end
-- expo
local function inExpo(t, b, c, d)
if t == 0 then return b end
return c * pow(2, 10 * (t / d - 1)) + b - c * 0.001
return c * (pow(2, 10 * (t / d - 1)) - 0.001) + b
end
local function outExpo(t, b, c, d)
if t == d then return b + c end
Expand Down