added z to getPosition on light

This commit is contained in:
Tim Anema 2014-10-27 21:46:27 -04:00
parent 3f482ef0c6
commit 82061d93d0

View File

@ -47,7 +47,7 @@ end
-- get x
function light:getPosition()
return self.x, self.y
return self.x, self.y, self.z
end
-- set color