mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-24 16:44:21 +00:00
updated
This commit is contained in:
parent
bf2b6903d5
commit
2b5f567ea3
@ -8,7 +8,16 @@ sin = math.sin
|
||||
deg = math.deg
|
||||
rad = math.rad
|
||||
|
||||
State = State or {}
|
||||
|
||||
function declare(t)
|
||||
for i,v in pairs(t) do
|
||||
if not State[i] then
|
||||
State[i] = v
|
||||
_G[i] = State[i]
|
||||
end
|
||||
end
|
||||
end
|
||||
require "LICK/lib/color"
|
||||
module(...,package.seeall)
|
||||
|
||||
|
@ -8,7 +8,16 @@ sin = math.sin
|
||||
deg = math.deg
|
||||
rad = math.rad
|
||||
|
||||
State = State or {}
|
||||
|
||||
function declare(t)
|
||||
for i,v in pairs(t) do
|
||||
if not State[i] then
|
||||
State[i] = v
|
||||
_G[i] = State[i]
|
||||
end
|
||||
end
|
||||
end
|
||||
require "LICK/lib/color"
|
||||
module(...,package.seeall)
|
||||
|
||||
@ -82,7 +91,6 @@ triangle = love.graphics.triangle
|
||||
|
||||
|
||||
|
||||
|
||||
function color(r, g,b,a)
|
||||
local color={}
|
||||
local alpha=a or 255
|
||||
|
Loading…
Reference in New Issue
Block a user