   (:import (embla3d.engine.meshs MeshBuilder)
            [embla3d.engine World])
   (gen-class))
+
 ;;UTILS------------------------------------------------------------------
 (defn flat-map "flatten 'map'" [m]
   (flatten (conj (vals m))))

;;TODO NEED CAMERA MANAGEMENT

;; Collision
(defn create-boudingbox!
  "Create a boundingbox in the `world` with the
  specified id, position, length, scale"
  [world & {:keys [id position length scale]

                   scale    1}}]

  (.createBoundingBox world id (float-array position) scale (float-array length)))
(defn add-bounding-box!
  "Add the specified 'bounding box' to the specified 'item'"
  [item bounding-box]
  (.setBoundingBox item bounding-box))
(defn check-collision!
  "Check if 2 items are in collision in the `world` with the
  specified items"
  [world item1 item2]
  (.isInCollision world item1 item2))

;; Generic Generic------------------------------------------------
