Mercurial > cortex
diff org/vision.org @ 341:2e7d786241d3
now I am satisfied with the tests.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Jul 2012 12:20:43 -0500 |
parents | 4f5a5d5f1613 |
children | 5405f369f4a0 |
line wrap: on
line diff
1.1 --- a/org/vision.org Sat Jul 21 11:18:47 2012 -0500 1.2 +++ b/org/vision.org Sat Jul 21 12:20:43 2012 -0500 1.3 @@ -492,7 +492,7 @@ 1.4 (if record? 1.5 (File. "/home/r/proj/cortex/render/vision/2"))) 1.6 BufferedImage!)) 1.7 - (let [timer (RatchetTimer. 60)] 1.8 + (let [timer (IsoTimer. 60)] 1.9 (.setTimer world timer) 1.10 (display-dilated-time world timer)) 1.11 ;; This is here to restore the main view 1.12 @@ -631,7 +631,7 @@ 1.13 (fn [world] 1.14 (light-up-everything world) 1.15 (speed-up world) 1.16 - (let [timer (RatchetTimer. 60)] 1.17 + (let [timer (IsoTimer. 60)] 1.18 (.setTimer world timer) 1.19 (display-dilated-time world timer)) 1.20 ;; add a view from the worm's perspective 1.21 @@ -783,8 +783,12 @@ 1.22 (:import com.jme3.scene.Node) 1.23 (:import com.jme3.math.Vector3f) 1.24 (:import java.io.File) 1.25 - (:import (com.aurellem.capture Capture RatchetTimer))) 1.26 + (:import (com.aurellem.capture Capture RatchetTimer IsoTimer))) 1.27 #+end_src 1.28 + 1.29 +#+results: test-header 1.30 +: com.aurellem.capture.IsoTimer 1.31 + 1.32 * Source Listing 1.33 - [[../src/cortex/vision.clj][cortex.vision]] 1.34 - [[../src/cortex/test/vision.clj][cortex.test.vision]]