mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Document changes
This commit is contained in:
parent
523502ca80
commit
12761564b9
@ -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())
|
||||
|
||||
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user