Move macro and adjust docstring

This commit is contained in:
oakes
2014-08-20 20:46:03 -04:00
parent e437761c3e
commit b1dd7f39dc

View File

@@ -53,6 +53,13 @@
[k & options]
`(u/call! ^Files (Gdx/files) ~k ~@options))
(defmacro gl
"Returns a static field from [GL20](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/GL20.html).
(gl :gl-triangles)"
[k]
(u/gdx-field :graphics :GL20 (u/key->upper k)))
(defmacro gl!
"Calls a single method on [Gdx.gl20](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/GL20.html).
@@ -60,13 +67,6 @@
[k & options]
`(u/call! ^GL20 (Gdx/gl20) ~k ~@options))
(defmacro gl
"Returns a static field from [Gdx.gl20](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/GL20.html).
(gl :gl-triangles)"
[k]
(u/gdx-field :graphics :GL20 (u/key->upper k)))
(defmacro graphics!
"Calls a single method on [Gdx.graphics](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Graphics.html).