# HG changeset patch # User Robert McIntyre # Date 1323487985 21600 # Node ID 6cd5a034d85598b444534c3fb457859ca8169b08 # Parent 6f74d89fb8b3651219ba18fca565320312c6f100 moved test namespaces diff -r 6f74d89fb8b3 -r 6cd5a034d855 org/eyes.org --- a/org/eyes.org Thu Dec 08 20:58:40 2011 -0600 +++ b/org/eyes.org Fri Dec 09 21:33:05 2011 -0600 @@ -87,7 +87,7 @@ #+name: test-vision #+begin_src clojure -(ns test.vision +(ns cortex.test.vision (:use (cortex world util vision)) (:import java.awt.image.BufferedImage) (:import javax.swing.JPanel) @@ -166,6 +166,6 @@ <> #+end_src -#+begin_src clojure :tangle ../src/test/vision.clj +#+begin_src clojure :tangle ../src/cortex/test/vision.clj <> #+end_src diff -r 6f74d89fb8b3 -r 6cd5a034d855 org/skin.org --- a/org/skin.org Thu Dec 08 20:58:40 2011 -0600 +++ b/org/skin.org Fri Dec 09 21:33:05 2011 -0600 @@ -107,7 +107,7 @@ #+name: touch-test #+begin_src clojure -(ns test.touch +(ns cortex.test.touch (:use (cortex world util touch)) (:import com.jme3.scene.shape.Sphere @@ -116,10 +116,7 @@ com.jme3.material.RenderState$BlendMode com.jme3.renderer.queue.RenderQueue$Bucket com.jme3.scene.shape.Box - com.jme3.scene.Node - )) - - + com.jme3.scene.Node)) (defn ray-origin-debug [ray color] @@ -258,9 +255,7 @@ (fn [& _] (let [sensitivity 0.2 touch-data (touch-percieve sensitivity b node)] - (manage-ray-debug-node debug-node b touch-data sensitivity) - ) - (Thread/sleep 10) + (manage-ray-debug-node debug-node b touch-data sensitivity)) )))) @@ -275,7 +270,7 @@ <> #+end_src -#+begin_src clojure :tangle ../src/test/touch.clj +#+begin_src clojure :tangle ../src/cortex/test/touch.clj <> #+end_src diff -r 6f74d89fb8b3 -r 6cd5a034d855 org/test.org --- a/org/test.org Thu Dec 08 20:58:40 2011 -0600 +++ b/org/test.org Fri Dec 09 21:33:05 2011 -0600 @@ -9,8 +9,8 @@ #+name: body-main #+begin_src clojure -(ns test.all - (:require [test touch vision]) +(ns cortex.test + (:require [cortex.test touch vision]) (:import com.jme3.app.state.AppState com.jme3.system.AppSettings)) @@ -68,7 +68,7 @@ #+end_src * COMMENT generate Source. -#+begin_src clojure :tangle ../src/test/all.clj +#+begin_src clojure :tangle ../src/cortex/test.clj <> #+end_src