mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Made some minor formatting changes
This commit is contained in:
parent
95c3f8960d
commit
0a8258d608
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
|
||||||
|
Loading…
Reference in New Issue
Block a user