reorder eases correctly

This commit is contained in:
jill 2021-09-18 02:33:08 +03:00
parent 8c0b2d3653
commit a629964d63

View file

@ -106,6 +106,7 @@ table.insert(self, {'inOutCirc', function(t)
end
end})
table.insert(self, {'inBounce', function(t) return 1 - self.outBounce(1 - t) end})
table.insert(self, {'outBounce', function(t)
if t < 1 / 2.75 then
return 7.5625 * t * t
@ -120,7 +121,6 @@ table.insert(self, {'outBounce', function(t)
return 7.5625 * t * t + 0.984375
end
end})
table.insert(self, {'inBounce', function(t) return 1 - self.outBounce(1 - t) end})
table.insert(self, {'inOutBounce', function(t)
if t < 0.5 then
return self.inBounce(t * 2) * 0.5