diff org/skin.org @ 40:bc93abad23ee

moved usefull functions to util
author Robert McIntyre <rlm@mit.edu>
date Thu, 03 Nov 2011 10:10:55 -0700
parents 2ce7400825c2
children cce471a4108a
line wrap: on
line diff
     1.1 --- a/org/skin.org	Thu Nov 03 10:03:22 2011 -0700
     1.2 +++ b/org/skin.org	Thu Nov 03 10:10:55 2011 -0700
     1.3 @@ -112,8 +112,6 @@
     1.4  
     1.5  (cortex.import/mega-import-jme3)
     1.6    
     1.7 -(import java.util.logging.Level)
     1.8 -(import java.util.logging.Logger)
     1.9  (use 'hello.brick-wall)
    1.10  
    1.11  
    1.12 @@ -183,15 +181,6 @@
    1.13         (update-ray-debug
    1.14          (.getChild debug-node n) (nth rays n) (nth touch-data n))))))
    1.15  
    1.16 -
    1.17 -
    1.18 -(defn no-logging []
    1.19 -  (.setLevel (Logger/getLogger "com.jme3") Level/OFF))
    1.20 -
    1.21 -(defn set-accuracy [world new-accuracy]
    1.22 -  (let [physics-manager (.getState (.getStateManager world) BulletAppState)]
    1.23 -    (.setAccuracy (.getPhysicsSpace physics-manager) (float new-accuracy))))
    1.24 -
    1.25  (defn transparent-sphere []
    1.26    (doto
    1.27        (make-shape