Revert "Remove unnecessary bangs from macros"

This reverts commit 0ecabbce47.
This commit is contained in:
oakes
2014-04-14 09:19:05 -04:00
parent 0ecabbce47
commit a7759819bb
2 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
; static methods/fields
(defmacro geometry
(defmacro geometry!
"Calls a single static method on [GeometryUtils](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/GeometryUtils.html)."
[k & options]
`(~(u/gdx-field :math :GeometryUtils (u/key->camel k)) ~@options))
@@ -20,17 +20,17 @@
[k]
`~(u/gdx-class :math :Interpolation (u/key->pascal k)))
(defmacro intersector
(defmacro intersector!
"Calls a single static method on [Intersector](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Intersector.html).
(intersector :is-point-in-triangle 0 1 0 0 1 2 3 0)"
(intersector! :is-point-in-triangle 0 1 0 0 1 2 3 0)"
[k & options]
`(~(u/gdx-field :math :Intersector (u/key->camel k)) ~@options))
(defmacro math
(defmacro math!
"Calls a single static method on [MathUtils](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/MathUtils.html).
(math :ceil 0.1)"
(math! :ceil 0.1)"
[k & options]
`(~(u/gdx-field :math :MathUtils (u/key->camel k)) ~@options))