comparison org/test-creature.org @ 75:f4c77512808e

hand appears to work now!
author Robert McIntyre <rlm@mit.edu>
date Wed, 28 Dec 2011 06:53:34 -0700
parents fb810a2c50c2
children 1f84f425e05d
comparison
equal deleted inserted replaced
74:fb810a2c50c2 75:f4c77512808e
174 174
175 175
176 (defn test-hand [] 176 (defn test-hand []
177 (world 177 (world
178 (nodify [(the-hand!) 178 (nodify [(the-hand!)
179 (box 10 0.1 10 :position (Vector3f. 0 -10 0) 179 (box 10 1 10 :position (Vector3f. 0 -10 0)
180 :color ColorRGBA/Gray 180 :color ColorRGBA/Gray
181 :mass 0)]) 181 :mass 0)])
182 standard-debug-controls 182 standard-debug-controls
183 enable-debug 183 enable-debug
184 no-op)) 184 (fn [_ _]
185 (Thread/sleep 100))))
185 186
186 187
187 188
188 189
189 190
190 191
191 192
192 #+end_src 193 #+end_src
194
195 #+results: body-1
196 : #'cortex.silly/test-hand
193 197
194 198
195 199
196 * COMMENT generate source 200 * COMMENT generate source
197 #+begin_src clojure :tangle ../src/cortex/silly.clj 201 #+begin_src clojure :tangle ../src/cortex/silly.clj