Skip to content

Commit

Permalink
Document changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vrld committed Oct 13, 2015
1 parent 523502c commit 1276156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/camera.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ between these two coordinate systems.

**Example**::

x,y = cam:cameraCoords(player.pos)
x,y = cam:cameraCoords(player.pos.x, player.pos.y)
love.graphics.line(x, y, love.mouse.getPosition())


Expand Down Expand Up @@ -386,7 +386,7 @@ screen center, aim 20 pixels *above* it (see examples).



.. function:: camera:lockPos(x,y, smoother, ...)
.. function:: camera:lockPosition(x,y, smoother, ...)

:param numbers x,y: Position (in world coordinates) to lock to.
:param function smoother: Movement smoothing override. (optional)
Expand Down

0 comments on commit 1276156

Please sign in to comment.