            (org.lwjgl.opengl Display GL11)
            (org.lwjgl BufferUtils)))
 
+(def enable-display-text true)
 (def #^:dynamic *gui-state* (atom {:rotate-mode :none :translate-mode :none                                    
                                    :rot-x 0 :rot-y 0 :rot-z 0
                                    :shift-x 0 :shift-y -20 :shift-z -50;-30                                   

#_"This file is part of brevis.                                                                                                                                                 
                                                                                                                                                                                     
    Ekman's Garden is free software: you can redistribute it and/or modify                                                                                                           
    it under the terms of the GNU General Public License as published by                                                                                                             
    the Free Software Foundation, either version 3 of the License, or                                                                                                                
    (at your option) any later version.                                                                                                                                              
                                                                                                                                                                                     
    Ekman's Garden is distributed in the hope that it will be useful,                                                                                                                
    but WITHOUT ANY WARRANTY; without even the implied warranty of                                                                                                                   
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                                                                                                    
    GNU General Public License for more details.                                                                                                                                     
                                                                                                                                                                                     
    You should have received a copy of the GNU General Public License                                                                                                                
    along with Ekman's Garden.  If not, see <http://www.gnu.org/licenses/>.                                                                                                          
                                                                                                                                                                                     
Copyright 2012, 2013 Kyle Harrington"     


  #_(reset! *update-handlers* {})
  (reset! *physics* nil)
  (reset! *objects* {}))

(defn disable-collisions "Disable collision detection." [] (reset! collisions-enabled false))
(defn enable-collisions "Enable collision detection." [] (reset! collisions-enabled true))

(defn disable-neighborhoods "Disable neighborhood detection." [] (reset! neighborhoods-enabled false))
(defn enable-neighborhoods "Enable neighborhood detection." [] (reset! neighborhoods-enabled true))

(defn start-gui 
  "Start the simulation with a GUI."
