Add linear easing (aka no easing)

This commit is contained in:
PeaAshMeter 2025-11-07 09:04:23 +03:00
parent c741bf3952
commit 0eb06dce3f

View File

@ -4,6 +4,11 @@
local easing = {}
--- @type ease
function easing.linear(x)
return x
end
--- @type ease
function easing.easeInSine(x)
return 1 - math.cos((x * math.pi) / 2);