# HG changeset patch # User Robert McIntyre # Date 1328356945 25200 # Node ID 15bde60217aa5b5747f501524a22ec035212a266 # Parent 1a00b4918529e158bd4628dce39e8f44365e818e updated docstring for vision-fn diff -r 1a00b4918529 -r 15bde60217aa org/vision.org --- a/org/vision.org Sat Feb 04 05:00:10 2012 -0700 +++ b/org/vision.org Sat Feb 04 05:02:25 2012 -0700 @@ -185,7 +185,9 @@ :green 0x00FF00}) (defn vision-fn - "return [init-function sensor-functions] for a particular eye" + "Returns a list of functions, each of which will return a color + channel's worth of visual information when called inside a running + simulation." [#^Node creature #^Spatial eye & {skip :skip :or {skip 0}}] (let [retinal-map (retina-sensor-profile eye) camera (add-eye! creature eye) @@ -233,7 +235,6 @@ (for [eye (eyes creature)] (vision-fn creature eye)))) - #+end_src