This commit is contained in:
jill 2020-12-31 01:49:47 +03:00
parent 006e506901
commit 9f52a90d90
Signed by: oat
GPG key ID: DD83A9617A252385

View file

@ -95,16 +95,16 @@
end
local function mixEase(e1, e2, point)
if not point then point = 0.5 end
if not point then point = 0.5 end
return function(a)
if a < point then
return e1(a / point) * point
else
return e2((a - point) / (1 - point)) * (1 - point) + point
end
end
end
return function(a)
if a < point then
return e1(a / point) * point
else
return e2((a - point) / (1 - point)) * (1 - point) + point
end
end
end
local beatobjTemplate = {
_beats = {},