Mercurial > cortex
diff org/proprioception.org @ 460:763d13f77e03
merge in laptop changes.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 27 Mar 2014 17:57:01 -0400 |
parents | 5205535237fb |
children |
line wrap: on
line diff
1.1 --- a/org/proprioception.org Thu Mar 27 17:56:26 2014 -0400 1.2 +++ b/org/proprioception.org Thu Mar 27 17:57:01 2014 -0400 1.3 @@ -52,7 +52,7 @@ 1.4 system. The three vectors do not have to be normalized or 1.5 orthogonal." 1.6 [vec1 vec2 vec3] 1.7 - (< 0 (.dot (.cross vec1 vec2) vec3))) 1.8 + (pos? (.dot (.cross vec1 vec2) vec3))) 1.9 1.10 (defn absolute-angle 1.11 "The angle between 'vec1 and 'vec2 around 'axis. In the range 1.12 @@ -328,7 +328,7 @@ 1.13 proprioception (pics "proprio/0") 1.14 targets (map 1.15 #(File. (str base "out/" (format "%07d.png" %))) 1.16 - (range 0 (count main-view)))] 1.17 + (range (count main-view)))] 1.18 (dorun 1.19 (pmap 1.20 (comp 1.21 @@ -385,7 +385,7 @@ 1.22 1.23 * Next 1.24 1.25 -Next time, I'll give the Worm the power to [[./movement.org][move on it's own]]. 1.26 +Next time, I'll give the Worm the power to [[./movement.org][move on its own]]. 1.27 1.28 1.29 * COMMENT generate source