diff org/test-creature.org @ 169:94b79c191fc7

renamed some functions in vision.org
author Robert McIntyre <rlm@mit.edu>
date Sat, 04 Feb 2012 04:23:32 -0700
parents 9e6a30b8c99a
children 1a00b4918529
line wrap: on
line diff
     1.1 --- a/org/test-creature.org	Sat Feb 04 04:08:08 2012 -0700
     1.2 +++ b/org/test-creature.org	Sat Feb 04 04:23:32 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 -                   (attach-eye creature (test-eye))
     1.9 +          (add-camera! world
    1.10 +                   (add-eye! creature (test-eye))
    1.11                     (comp (view-image) BufferedImage!))
    1.12            
    1.13 -          (add-eye! world (.getCamera world) no-op)
    1.14 +          (add-camera! world (.getCamera world) no-op)
    1.15            ;;(set-gravity world (Vector3f. 0 0 0))
    1.16            ;;(com.aurellem.capture.Capture/captureVideo
    1.17            ;; world (file-str "/home/r/proj/ai-videos/hand"))
    1.18 @@ -308,8 +308,8 @@
    1.19                   (bind-sense rock cam)
    1.20                   
    1.21                   (.setTimer world (RatchetTimer. 60))
    1.22 -                 (add-eye! world cam (comp (view-image) BufferedImage!))
    1.23 -                 (add-eye! world (.getCamera world) no-op))
    1.24 +                 (add-camera! world cam (comp (view-image) BufferedImage!))
    1.25 +                 (add-camera! world (.getCamera world) no-op))
    1.26                 )
    1.27               (fn [_ _] (println-repl rot)))))
    1.28