 
 
 (defrecord BombsMode
-  [barrel-radius cursor-position]
+  [barrel-radius barrel-height cursor-position]
 
   mode/Mode
 

      [:button/press :L]
      this

      this))


  (render
    [this pixel]
    (let [delta (distance barrel-radius (:barrel pixel) cursor-position)]
      (if (< delta 0.05) (color/gray 1.0) color/none))))


(defn init
  "Creates a new bombs mode with starting parameters"
  ([]
   (init 0.099 {:theta 0 :z 0.15}))
  ([barrel-radius cursor-position]
   (BombsMode. barrel-radius cursor-position)))

    [clojure.tools.logging :as log]
    [playasophy.wonderdome.geometry.sphere :as sphere]
    [playasophy.wonderdome.mode.core :as mode]
    [playasophy.wonderdome.util.color :as color]
    [playasophy.wonderdome.util.control :as control]))


(defn- distance
