fix back eases's min value
This commit is contained in:
parent
3e57daa1c8
commit
e6565f5144
1 changed files with 3 additions and 3 deletions
|
@ -162,14 +162,14 @@ end, {1, 3, 1, 'a'}, {0, 2, 0.3, 'p'}, overridemin = true})
|
|||
|
||||
table.insert(self, {'inBack', function(t, a)
|
||||
return t * t * (a * t + t - a)
|
||||
end, {0, 3, 1.70158, 'a'}})
|
||||
end, {0, 3, 1.70158, 'a'}, overridemin = true})
|
||||
table.insert(self, {'outBack', function(t, a)
|
||||
t = t - 1 return t * t * ((a + 1) * t + a) + 1
|
||||
end, {0, 3, 1.70158, 'a'}})
|
||||
end, {0, 3, 1.70158, 'a'}, overridemin = true})
|
||||
table.insert(self, {'inOutBack', function(t, a)
|
||||
return t < 0.5
|
||||
and 0.5 * self.inBack(t * 2, a)
|
||||
or 0.5 + 0.5 * self.outBack(t * 2 - 1, a)
|
||||
end, {0, 3, 1.70158, 'a'}})
|
||||
end, {0, 3, 1.70158, 'a'}, overridemin = true})
|
||||
|
||||
return self
|
||||
|
|
Loading…
Reference in a new issue