Move macro and adjust docstring
This commit is contained in:
@@ -53,6 +53,13 @@
|
|||||||
[k & options]
|
[k & options]
|
||||||
`(u/call! ^Files (Gdx/files) ~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!
|
(defmacro gl!
|
||||||
"Calls a single method on [Gdx.gl20](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/GL20.html).
|
"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]
|
[k & options]
|
||||||
`(u/call! ^GL20 (Gdx/gl20) ~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!
|
(defmacro graphics!
|
||||||
"Calls a single method on [Gdx.graphics](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Graphics.html).
|
"Calls a single method on [Gdx.graphics](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Graphics.html).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user