Removed lume.rgba (superseded by lume.color)

This commit is contained in:
rxi
2018-03-10 14:52:02 +00:00
parent b539dc74c7
commit 758067dd33
3 changed files with 0 additions and 26 deletions

View File

@@ -739,15 +739,6 @@ function lume.color(str, mul)
end
function lume.rgba(color)
local a = math_floor((color / 16777216) % 256)
local r = math_floor((color / 65536) % 256)
local g = math_floor((color / 256) % 256)
local b = math_floor((color) % 256)
return r, g, b, a
end
local chain_mt = {}
chain_mt.__index = lume.map(lume.filter(lume, iscallable, true),
function(fn)