diff org/util.org @ 60:e5e627f50a3a

finally got euler angle stuff working
author Robert McIntyre <rlm@mit.edu>
date Mon, 28 Nov 2011 02:54:48 -0700
parents b1b90c4ab0bf
children 2b9d81017cb7
line wrap: on
line diff
     1.1 --- a/org/util.org	Sat Nov 19 23:59:12 2011 -0700
     1.2 +++ b/org/util.org	Mon Nov 28 02:54:48 2011 -0700
     1.3 @@ -280,6 +280,8 @@
     1.4  *** Debug Actions
     1.5  #+srcname: debug-actions
     1.6  #+begin_src clojure :results silent
     1.7 +(in-ns 'cortex.util)
     1.8 +
     1.9  (defn basic-light-setup
    1.10    "returns a sequence of lights appropiate for fully lighting a scene"
    1.11    []
    1.12 @@ -333,6 +335,13 @@
    1.13             (add-element game cannon-ball (if node node (.getRootNode game)))))))
    1.14    ([]
    1.15      (fire-cannon-ball false)))
    1.16 +
    1.17 +(def standard-debug-controls 
    1.18 +  {"key-space" (fire-cannon-ball)})
    1.19 +
    1.20 +   
    1.21 +
    1.22 +
    1.23  #+end_src
    1.24  
    1.25