diff org/vision.org @ 171:15bde60217aa

updated docstring for vision-fn
author Robert McIntyre <rlm@mit.edu>
date Sat, 04 Feb 2012 05:02:25 -0700
parents 1a00b4918529
children 04a39e6bb695
line wrap: on
line diff
     1.1 --- a/org/vision.org	Sat Feb 04 05:00:10 2012 -0700
     1.2 +++ b/org/vision.org	Sat Feb 04 05:02:25 2012 -0700
     1.3 @@ -185,7 +185,9 @@
     1.4     :green  0x00FF00})
     1.5  
     1.6  (defn vision-fn
     1.7 -  "return [init-function sensor-functions] for a particular eye"
     1.8 +  "Returns a list of functions, each of which will return a color
     1.9 +   channel's worth of visual information when called inside a running
    1.10 +   simulation."
    1.11    [#^Node creature #^Spatial eye & {skip :skip :or {skip 0}}]
    1.12    (let [retinal-map (retina-sensor-profile eye)
    1.13          camera (add-eye! creature eye)
    1.14 @@ -233,7 +235,6 @@
    1.15     (for [eye (eyes creature)]
    1.16       (vision-fn creature eye))))
    1.17  
    1.18 -
    1.19  #+end_src
    1.20  
    1.21