Rename image functions
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
; textures
|
; textures
|
||||||
|
|
||||||
(defn create-image*
|
(defn image*
|
||||||
[img]
|
[img]
|
||||||
(cond
|
(cond
|
||||||
(string? img)
|
(string? img)
|
||||||
@@ -51,11 +51,11 @@
|
|||||||
:else
|
:else
|
||||||
(TextureRegion. ^TextureRegion img)))
|
(TextureRegion. ^TextureRegion img)))
|
||||||
|
|
||||||
(defmacro create-image
|
|
||||||
[img & options]
|
|
||||||
`(utils/calls! ^TextureRegion (create-image* ~img) ~@options))
|
|
||||||
|
|
||||||
(defmacro image
|
(defmacro image
|
||||||
|
[img & options]
|
||||||
|
`(utils/calls! ^TextureRegion (image* ~img) ~@options))
|
||||||
|
|
||||||
|
(defmacro image!
|
||||||
[img k & options]
|
[img k & options]
|
||||||
`(utils/call! ^TextureRegion ~img ~k ~@options))
|
`(utils/call! ^TextureRegion ~img ~k ~@options))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user