Added lerp, lerp_color, approach, and multiapproach lua functions.

This commit is contained in:
Kyzentun
2014-10-23 00:13:13 -06:00
parent 2e7fabc7e7
commit ca4eb65b61
8 changed files with 125 additions and 3 deletions
@@ -66,6 +66,8 @@ function wrap(val,n)
end
function fapproach(val, other_val, to_move)
-- This does not use the (faster) C++ side version of approach because I
-- don't want to find out how many themes pass a negative speed. -Kyz
if val == other_val then
return val -- already done!
end