diff org/util.org @ 78:77b506ac64f3

trying to make offset cone joints
author Robert McIntyre <rlm@mit.edu>
date Wed, 04 Jan 2012 20:34:00 -0700
parents fb810a2c50c2
children 92b857b6145d
line wrap: on
line diff
     1.1 --- a/org/util.org	Wed Jan 04 08:36:42 2012 -0700
     1.2 +++ b/org/util.org	Wed Jan 04 20:34:00 2012 -0700
     1.3 @@ -128,6 +128,16 @@
     1.4       BulletAppState))
     1.5     (asset-manager)))
     1.6  
     1.7 +(defn speed-up 
     1.8 +  "Increase the dismally slow speed of the world's camera."
     1.9 +  [world]
    1.10 +  (.setMoveSpeed (.getFlyByCamera world)
    1.11 +                 (float 100))
    1.12 +  (.setRotationSpeed (.getFlyByCamera world)
    1.13 +                     (float 20))
    1.14 +  world)
    1.15 +
    1.16 +
    1.17  (defn no-logging 
    1.18    "Disable all of jMonkeyEngine's logging."
    1.19    []