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 end
local function mixEase(e1, e2, point) 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) return function(a)
if a < point then if a < point then
return e1(a / point) * point return e1(a / point) * point
else else
return e2((a - point) / (1 - point)) * (1 - point) + point return e2((a - point) / (1 - point)) * (1 - point) + point
end end
end end
end end
local beatobjTemplate = { local beatobjTemplate = {
_beats = {}, _beats = {},