comparison org/test-creature.org @ 190:2902aca33c6e

added proprioception debug view.
author Robert McIntyre <rlm@mit.edu>
date Sat, 04 Feb 2012 10:26:11 -0700
parents facc2ef3fe5c
children 66fbab414d45
comparison
equal deleted inserted replaced
189:facc2ef3fe5c 190:2902aca33c6e
143 143
144 hearing (hearing! creature) 144 hearing (hearing! creature)
145 hearing-display (view-hearing) 145 hearing-display (view-hearing)
146 146
147 prop (proprioception! creature) 147 prop (proprioception! creature)
148 prop-debug (proprioception-debug-window) 148 prop-display (view-proprioception)
149 149
150 muscle-fns (movement! creature) 150 muscle-fns (movement! creature)
151 151
152 152
153 me (sphere 0.5 :color ColorRGBA/Blue :physical? false) 153 me (sphere 0.5 :color ColorRGBA/Blue :physical? false)
208 ) 208 )
209 (fn [world tpf] 209 (fn [world tpf]
210 ;;(dorun 210 ;;(dorun
211 ;; (map #(%1 %2) touch-nerves (repeat (.getRootNode world)))) 211 ;; (map #(%1 %2) touch-nerves (repeat (.getRootNode world))))
212 212
213 (prop-debug (prop)) 213 (prop-display (prop))
214 214
215 (touch-display (map #(% (.getRootNode world)) touch)) 215 (touch-display (map #(% (.getRootNode world)) touch))
216 216
217 (vision-display (map #(% world) vision)) 217 (vision-display (map #(% world) vision))
218 218