Further fixes to Succession animations

This commit is contained in:
Sridhar Ramesh
2018-01-19 16:52:31 -08:00
parent 7bcde6713d
commit 123bae00a6
2 changed files with 18 additions and 22 deletions

View File

@ -307,7 +307,7 @@ def interpolate(start, end, alpha):
def mid(start, end):
return (start + end)/2.0
def anti_interpolate(start, end, value):
def inverse_interpolate(start, end, value):
return np.true_divide(value - start, end - start)
def clamp(lower, upper, val):