Fix gdx-field and improve comments
This commit is contained in:
@@ -146,6 +146,8 @@
|
||||
`(let [^Sound object# ~object]
|
||||
(u/call! object# ~k ~@options)))
|
||||
|
||||
; assets
|
||||
|
||||
(defn ^:private loader-init
|
||||
"Internal use only"
|
||||
[k]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(in-ns 'play-clj.core)
|
||||
|
||||
; misc
|
||||
; utilities
|
||||
|
||||
(defmacro usage
|
||||
"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
|
||||
"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]
|
||||
`(let [^AnimationController object# (animation-controller* ~entity)]
|
||||
(u/calls! object# ~@options)))
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"Internal use only"
|
||||
[args divider]
|
||||
(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
|
||||
"Returns a fully-qualified LibGDX symbol"
|
||||
|
||||
Reference in New Issue
Block a user