Adjust docstrings and make other small fixes

This commit is contained in:
oakes
2014-04-20 21:54:53 -04:00
parent c90b607cf2
commit 62c287f53b
5 changed files with 12 additions and 12 deletions

View File

@@ -27,9 +27,10 @@
(defmacro perspective
"Returns a [PerspectiveCamera](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/PerspectiveCamera.html).
(perspective)"
[fov vw vh & options]
`(let [^PerspectiveCamera object# (perspective* ~fov ~vw ~vh)]
(perspective 75 (game :width) (game :height))"
[field-of-view viewport-width viewport-height & options]
`(let [^PerspectiveCamera object#
(perspective* ~field-of-view ~viewport-width ~viewport-height)]
(u/calls! object# ~@options)))
(defmacro perspective!