diff org/util.org @ 400:6ba908c1a0a9

on the warpath to the final stretch.
author Robert McIntyre <rlm@mit.edu>
date Sun, 16 Mar 2014 23:30:32 -0400
parents 4c37d39a3cf6
children 0a4362d1f138
line wrap: on
line diff
     1.1 --- a/org/util.org	Tue Mar 04 23:04:43 2014 -0500
     1.2 +++ b/org/util.org	Sun Mar 16 23:30:32 2014 -0400
     1.3 @@ -128,10 +128,13 @@
     1.4  
     1.5  (defn position-camera
     1.6    "Change the position of the in-world camera."
     1.7 -  [world #^Vector3f position #^Quaternion rotation]
     1.8 +  ([world #^Vector3f position #^Quaternion rotation]
     1.9       (doto (.getCamera world)
    1.10         (.setLocation position)
    1.11         (.setRotation rotation)))
    1.12 +  ([world [position rotation]]
    1.13 +     (position-camera world position rotation)))
    1.14 +     
    1.15  
    1.16  (defn enable-debug 
    1.17    "Turn on debug wireframes for every object in this simulation."
    1.18 @@ -614,7 +617,7 @@
    1.19  #+end_src
    1.20  
    1.21  
    1.22 -* COMMENT code generation
    1.23 +* code generation
    1.24  #+begin_src clojure :tangle ../src/cortex/import.clj
    1.25  <<import>>
    1.26  #+end_src