diff org/test-creature.org @ 167:9e6a30b8c99a

renamed some functions in eyes.org
author Robert McIntyre <rlm@mit.edu>
date Sat, 04 Feb 2012 04:07:25 -0700
parents c33a8e5fe7bc
children 94b79c191fc7
line wrap: on
line diff
     1.1 --- a/org/test-creature.org	Sat Feb 04 03:38:05 2012 -0700
     1.2 +++ b/org/test-creature.org	Sat Feb 04 04:07:25 2012 -0700
     1.3 @@ -233,11 +233,11 @@
     1.4            (dorun (map #(% world) init-vision-fns))
     1.5            ;;(dorun (map #(% world) init-hearing-fns))
     1.6            
     1.7 -          (add-eye world
     1.8 +          (add-eye! world
     1.9                     (attach-eye creature (test-eye))
    1.10                     (comp (view-image) BufferedImage!))
    1.11            
    1.12 -          (add-eye world (.getCamera world) no-op)
    1.13 +          (add-eye! world (.getCamera world) no-op)
    1.14            ;;(set-gravity world (Vector3f. 0 0 0))
    1.15            ;;(com.aurellem.capture.Capture/captureVideo
    1.16            ;; world (file-str "/home/r/proj/ai-videos/hand"))
    1.17 @@ -308,8 +308,8 @@
    1.18                   (bind-sense rock cam)
    1.19                   
    1.20                   (.setTimer world (RatchetTimer. 60))
    1.21 -                 (add-eye world cam (comp (view-image) BufferedImage!))
    1.22 -                 (add-eye world (.getCamera world) no-op))
    1.23 +                 (add-eye! world cam (comp (view-image) BufferedImage!))
    1.24 +                 (add-eye! world (.getCamera world) no-op))
    1.25                 )
    1.26               (fn [_ _] (println-repl rot)))))
    1.27