comparison org/util.org @ 24:e965675ec4d0

moving things around
author Robert McIntyre <rlm@mit.edu>
date Mon, 24 Oct 2011 01:19:15 -0700
parents cab2da252494
children 775d97247dd0
comparison
equal deleted inserted replaced
23:cab2da252494 24:e965675ec4d0
62 : 955 62 : 955
63 63
64 ** Simplification 64 ** Simplification
65 #+srcname: world-view 65 #+srcname: world-view
66 #+begin_src clojure :results silent 66 #+begin_src clojure :results silent
67 (in-ns 'cortex.world) 67 (in-ns 'cortex.debug)
68 68
69 (defprotocol Viewable 69 (defprotocol Viewable
70 (view [something])) 70 (view [something]))
71 71
72 (extend-type com.jme3.scene.Geometry 72 (extend-type com.jme3.scene.Geometry
106 hello-world can be written as easily as: 106 hello-world can be written as easily as:
107 107
108 #+begin_src clojure :results silent 108 #+begin_src clojure :results silent
109 (cortex.world/view (cortex.world/box)) 109 (cortex.world/view (cortex.world/box))
110 #+end_src 110 #+end_src
111
112
113
114 * COMMENT code generation
115 #+begin_src clojure :tangle ../src/cortex/import.clj
116 <<import>>
117 #+end_src