     [cloj.resources.html    :as rmhtml]
 
     [cloj.math.misc         :refer [cos-01 log-base-n ceil floor num-digits]]
-    [cloj.math.vec2         :as v2 :refer [v2]]
+    [cloj.math.vec2         :as v2 :refer [vec2]]
     [cloj.math.vec3         :as v3 :refer [vec3]]
 
     [cloj.system            :refer [get-resource-manager

  (reduce (fn [m v]
            (assoc m v (k->file-name v))) {} spr-keys))

(defn load-sprs [rman sprs]
  (let [spr-chan (->> (map #((rman/load-img! rman % (k->file-name  %))) (keys sprs) )
                      (async/merge)
                      (async/into ()))
        ret-chan (chan) ]

       [x y w h])
     (width [_] w)
     (height [_] h)
     (img [_] img)))
  
  ([img id x y w h]
   (mk-spr img id [x y w h])))
