Merge remote-tracking branch 'origin/master'

This commit is contained in:
Max Cahill 2024-03-07 11:39:51 +11:00
commit f9c1965205

View File

@ -112,7 +112,7 @@ end
--pingpong from 0 to 1 and back again --pingpong from 0 to 1 and back again
function mathx.pingpong(f) function mathx.pingpong(f)
return 1 - math.abs(f - 0.5) * 2 return 1 - math.abs(1 - f % 2)
end end
--quadratic ease in --quadratic ease in