reorder eases correctly
This commit is contained in:
parent
8c0b2d3653
commit
a629964d63
1 changed files with 1 additions and 1 deletions
|
@ -106,6 +106,7 @@ table.insert(self, {'inOutCirc', function(t)
|
||||||
end
|
end
|
||||||
end})
|
end})
|
||||||
|
|
||||||
|
table.insert(self, {'inBounce', function(t) return 1 - self.outBounce(1 - t) end})
|
||||||
table.insert(self, {'outBounce', function(t)
|
table.insert(self, {'outBounce', function(t)
|
||||||
if t < 1 / 2.75 then
|
if t < 1 / 2.75 then
|
||||||
return 7.5625 * t * t
|
return 7.5625 * t * t
|
||||||
|
@ -120,7 +121,6 @@ table.insert(self, {'outBounce', function(t)
|
||||||
return 7.5625 * t * t + 0.984375
|
return 7.5625 * t * t + 0.984375
|
||||||
end
|
end
|
||||||
end})
|
end})
|
||||||
table.insert(self, {'inBounce', function(t) return 1 - self.outBounce(1 - t) end})
|
|
||||||
table.insert(self, {'inOutBounce', function(t)
|
table.insert(self, {'inOutBounce', function(t)
|
||||||
if t < 0.5 then
|
if t < 0.5 then
|
||||||
return self.inBounce(t * 2) * 0.5
|
return self.inBounce(t * 2) * 0.5
|
||||||
|
|
Loading…
Reference in a new issue