Fix gdx-field and improve comments
This commit is contained in:
@@ -146,6 +146,8 @@
|
|||||||
`(let [^Sound object# ~object]
|
`(let [^Sound object# ~object]
|
||||||
(u/call! object# ~k ~@options)))
|
(u/call! object# ~k ~@options)))
|
||||||
|
|
||||||
|
; assets
|
||||||
|
|
||||||
(defn ^:private loader-init
|
(defn ^:private loader-init
|
||||||
"Internal use only"
|
"Internal use only"
|
||||||
[k]
|
[k]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
(in-ns 'play-clj.core)
|
(in-ns 'play-clj.core)
|
||||||
|
|
||||||
; misc
|
; utilities
|
||||||
|
|
||||||
(defmacro usage
|
(defmacro usage
|
||||||
"Returns a static field in [VertexAttributes.Usage](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/VertexAttributes.Usage.html)"
|
"Returns a static field in [VertexAttributes.Usage](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/VertexAttributes.Usage.html)"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
(defmacro animation-controller
|
(defmacro animation-controller
|
||||||
"Returns an [AnimationController](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/utils/AnimationController.html)
|
"Returns an [AnimationController](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g3d/utils/AnimationController.html)
|
||||||
|
|
||||||
(animation-controller entity)"
|
(animation-controller model-entity)"
|
||||||
[entity & options]
|
[entity & options]
|
||||||
`(let [^AnimationController object# (animation-controller* ~entity)]
|
`(let [^AnimationController object# (animation-controller* ~entity)]
|
||||||
(u/calls! object# ~@options)))
|
(u/calls! object# ~@options)))
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
"Internal use only"
|
"Internal use only"
|
||||||
[args divider]
|
[args divider]
|
||||||
(let [[a1 a2] (take-last 2 args)]
|
(let [[a1 a2] (take-last 2 args)]
|
||||||
(conj (vec (drop-last 2 args)) (str (name a1) divider a2))))
|
(conj (vec (drop-last 2 args)) (str (name a1) divider (name a2)))))
|
||||||
|
|
||||||
(defn gdx
|
(defn gdx
|
||||||
"Returns a fully-qualified LibGDX symbol"
|
"Returns a fully-qualified LibGDX symbol"
|
||||||
|
|||||||
Reference in New Issue
Block a user