diff --git a/examples/gamera.lua b/examples/gamera.lua index 794848d..8c54bbe 100644 --- a/examples/gamera.lua +++ b/examples/gamera.lua @@ -59,7 +59,7 @@ function love.update(dt) scale = scale + 0.01 end - lightMouse:setPosition((love.mouse.getX() - x)/scale, (love.mouse.getY() - y)/scale, z) + lightMouse:setPosition((love.mouse.getX() - x)/scale, (love.mouse.getY() - y)/scale) cam:setScale(scale) cam:setPosition(x, y) diff --git a/examples/hump.lua b/examples/hump.lua index d5a198c..5d5d612 100644 --- a/examples/hump.lua +++ b/examples/hump.lua @@ -59,7 +59,7 @@ function love.update(dt) scale = scale + 0.01 end - lightMouse:setPosition((love.mouse.getX() - x)/scale, (love.mouse.getY() - y)/scale, z) + lightMouse:setPosition((love.mouse.getX() - x)/scale, (love.mouse.getY() - y)/scale) cam:lookAt(x, y) cam:zoom(scale)