box-of-eases/util.lua

3 lines
54 B
Lua
Raw Normal View History

2021-09-17 22:44:26 +00:00
function mix(x, y, a)
return x * (1 - a) + y * a
end