comparison 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
comparison
equal deleted inserted replaced
77:1f84f425e05d 78:77b506ac64f3
125 (.getPhysicsSpace 125 (.getPhysicsSpace
126 (.getState 126 (.getState
127 (.getStateManager world) 127 (.getStateManager world)
128 BulletAppState)) 128 BulletAppState))
129 (asset-manager))) 129 (asset-manager)))
130
131 (defn speed-up
132 "Increase the dismally slow speed of the world's camera."
133 [world]
134 (.setMoveSpeed (.getFlyByCamera world)
135 (float 100))
136 (.setRotationSpeed (.getFlyByCamera world)
137 (float 20))
138 world)
139
130 140
131 (defn no-logging 141 (defn no-logging
132 "Disable all of jMonkeyEngine's logging." 142 "Disable all of jMonkeyEngine's logging."
133 [] 143 []
134 (.setLevel (Logger/getLogger "com.jme3") Level/OFF)) 144 (.setLevel (Logger/getLogger "com.jme3") Level/OFF))