From 9c96b5f3ed50ccf4451fcc477f0159097aaacfd4 Mon Sep 17 00:00:00 2001 From: redlock Date: Thu, 10 Mar 2011 14:31:59 +0100 Subject: [PATCH] copied new lib --- examples/empty_template/LICK/lib/hlpr.lua | 2 +- examples/rotate/LICK/lib/hlpr.lua | 3 ++- examples/rotate/main.lua | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/empty_template/LICK/lib/hlpr.lua b/examples/empty_template/LICK/lib/hlpr.lua index 3dd1f7f..0529b09 100644 --- a/examples/empty_template/LICK/lib/hlpr.lua +++ b/examples/empty_template/LICK/lib/hlpr.lua @@ -10,6 +10,7 @@ rad = math.rad require "LICK/lib/color" +module(...,package.seeall) -- syntax shortcuts checkMode = love.graphics.checkMode @@ -79,7 +80,6 @@ triangle = love.graphics.triangle -module(...,package.seeall) function color(r, g,b,a) diff --git a/examples/rotate/LICK/lib/hlpr.lua b/examples/rotate/LICK/lib/hlpr.lua index 3dd1f7f..7ed7b01 100644 --- a/examples/rotate/LICK/lib/hlpr.lua +++ b/examples/rotate/LICK/lib/hlpr.lua @@ -10,6 +10,7 @@ rad = math.rad require "LICK/lib/color" +module(...,package.seeall) -- syntax shortcuts checkMode = love.graphics.checkMode @@ -79,7 +80,7 @@ triangle = love.graphics.triangle -module(...,package.seeall) + function color(r, g,b,a) diff --git a/examples/rotate/main.lua b/examples/rotate/main.lua index 12f3256..3348717 100644 --- a/examples/rotate/main.lua +++ b/examples/rotate/main.lua @@ -19,8 +19,8 @@ end function love.draw() ez.cls(10) - push() + ez.push() ez.rotateCenter(x) circle:draw("fill") - pop() + ez.pop() end