mirror of
https://github.com/tanema/light_world.lua.git
synced 2024-12-11 01:14:26 +00:00
added z to getPosition on light
This commit is contained in:
parent
3f482ef0c6
commit
82061d93d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user