working on texture packing
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
frame))))
|
||||
|
||||
(defn split-texture [file [w h] frames]
|
||||
(let [sheet (texture! (texture file) :split w h)]
|
||||
(let [sheet (texture! (get-texture file) :split w h)]
|
||||
(for [i frames]
|
||||
(aget sheet 0 i))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user