Mercurial > cortex
changeset 115:247860e25536
added eye to creature in blender
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 19 Jan 2012 22:26:16 -0700 |
parents | 9d0fe7f54e14 |
children | 947bef5d6670 |
files | assets/Models/creature1/try-again.blend org/test-creature.org |
diffstat | 2 files changed, 2 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
1.1 Binary file assets/Models/creature1/try-again.blend has changed
2.1 --- a/org/test-creature.org Thu Jan 19 22:19:24 2012 -0700 2.2 +++ b/org/test-creature.org Thu Jan 19 22:26:16 2012 -0700 2.3 @@ -90,14 +90,6 @@ 2.4 2.5 image))) 2.6 2.7 -(defn test-data 2.8 - [] 2.9 - (vec 2.10 - (for [a (range 0 1000 2) 2.11 - b (range 0 1000 2)] 2.12 - (vector a b)) 2.13 - )) 2.14 - 2.15 (defn average [coll] 2.16 (/ (reduce + coll) (count coll))) 2.17 2.18 @@ -108,8 +100,7 @@ 2.19 num-above (count (filter (partial < center) line)) 2.20 num-below (- length num-above)] 2.21 (range (- center num-below) 2.22 - (+ center num-above)) 2.23 - )) 2.24 + (+ center num-above)))) 2.25 2.26 (defn collapse 2.27 "Take a set of pairs of integers and collapse them into a 2.28 @@ -148,8 +139,7 @@ 2.29 [(- x min-x) 2.30 (- y min-y)]) 2.31 squeezed))] 2.32 - relocate 2.33 - ))) 2.34 + relocate))) 2.35 2.36 (defn load-bullet [] 2.37 (let [sim (world (Node.) {} no-op no-op)] 2.38 @@ -232,7 +222,6 @@ 2.39 (.localToWorld object local-coordinate world-coordinate) 2.40 world-coordinate)) 2.41 2.42 - 2.43 (defmulti joint-dispatch 2.44 "Translate blender pseudo-joints into real JME joints." 2.45 (fn [constraints & _]