Mercurial > cortex
diff org/movement.org @ 283:23aadf376e9d
upgraded to latest jMonkeyEngine, streamlined tests
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 15 Feb 2012 16:56:01 -0700 |
parents | 4c07724c4f0a |
children | e27a91b1f997 |
line wrap: on
line diff
1.1 --- a/org/movement.org Wed Feb 15 14:09:20 2012 -0700 1.2 +++ b/org/movement.org Wed Feb 15 16:56:01 2012 -0700 1.3 @@ -183,9 +183,10 @@ 1.4 #+caption: The node highlighted in orange is the parent node of all muscles in the worm. The arrow highlighted in yellow represents the creature's single muscle, which moves the top segment. The other nodes which are not highlighted are joints, eyes, and ears. 1.5 [[../images/worm-with-muscle.png]] 1.6 1.7 +#+name: test-movement 1.8 #+begin_src clojure 1.9 -(defn test-movement 1.10 - ([] (test-movement false)) 1.11 +(defn test-worm-movement 1.12 + ([] (test-worm-movement false)) 1.13 ([record?] 1.14 (let [creature (doto (worm) (body!)) 1.15 1.16 @@ -307,11 +308,9 @@ 1.17 (:import java.io.File) 1.18 (:import java.awt.image.BufferedImage) 1.19 (:import com.jme3.scene.Node) 1.20 - (:import com.jme3.math.Vector3f) 1.21 + (:import (com.jme3.math Quaternion Vector3f)) 1.22 (:import (com.aurellem.capture Capture RatchetTimer)) 1.23 (:import com.jme3.bullet.control.RigidBodyControl)) 1.24 - 1.25 -(cortex.import/mega-import-jme3) 1.26 #+end_src 1.27 1.28 * Source Listing