mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-28 11:02:20 +00:00
Made some minor formatting changes
This commit is contained in:
4
lume.lua
4
lume.lua
@@ -60,7 +60,7 @@ end
|
|||||||
|
|
||||||
function lume.smooth(a, b, amount)
|
function lume.smooth(a, b, amount)
|
||||||
local t = lume.clamp(amount, 0, 1)
|
local t = lume.clamp(amount, 0, 1)
|
||||||
local m = t*t*(3-2*t)
|
local m = t * t * (3 - 2 * t)
|
||||||
return a + (b - a) * m
|
return a + (b - a) * m
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -458,4 +458,4 @@ function lume.chain(value)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return lume
|
return lume
|
||||||
|
Reference in New Issue
Block a user