mirror of
https://github.com/tanema/light_world.lua.git
synced 2024-12-24 20:24:19 +00:00
added z to getPosition on light
This commit is contained in:
parent
3f482ef0c6
commit
82061d93d0
@ -47,7 +47,7 @@ end
|
|||||||
|
|
||||||
-- get x
|
-- get x
|
||||||
function light:getPosition()
|
function light:getPosition()
|
||||||
return self.x, self.y
|
return self.x, self.y, self.z
|
||||||
end
|
end
|
||||||
|
|
||||||
-- set color
|
-- set color
|
||||||
|
Loading…
Reference in New Issue
Block a user