comparison org/util.org @ 66:1381a6ebd08b

updated org files to work with latest org changes
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Dec 2011 12:16:48 -0600
parents 2b9d81017cb7
children 0235c32152af
comparison
equal deleted inserted replaced
65:4b5f00110d8c 66:1381a6ebd08b
11 These are a collection of functions to make programming jMonkeyEngine 11 These are a collection of functions to make programming jMonkeyEngine
12 in clojure easier. 12 in clojure easier.
13 13
14 * Imports 14 * Imports
15 15
16 #+srcname: import 16 #+name: import
17 #+begin_src clojure :results silent 17 #+begin_src clojure :results silent
18 (ns cortex.import 18 (ns cortex.import
19 (:require swank.util.class-browse)) 19 (:require swank.util.class-browse))
20 20
21 (defn permissive-import 21 (defn permissive-import
76 76
77 77
78 78
79 *** Changing Settings 79 *** Changing Settings
80 80
81 #+srcname: util 81 #+name: util
82 #+begin_src clojure 82 #+begin_src clojure
83 (ns cortex.util 83 (ns cortex.util
84 "Utility functions for making jMonkeyEngine3 easier to program from 84 "Utility functions for making jMonkeyEngine3 easier to program from
85 clojure." 85 clojure."
86 {:author "Robert McIntyre"} 86 {:author "Robert McIntyre"}
192 : #'cortex.util/apply-map 192 : #'cortex.util/apply-map
193 193
194 194
195 *** Creating Basic Shapes 195 *** Creating Basic Shapes
196 196
197 #+srcname: shapes 197 #+name: shapes
198 #+begin_src clojure :results silent 198 #+begin_src clojure :results silent
199 (in-ns 'cortex.util) 199 (in-ns 'cortex.util)
200 200
201 (defrecord shape-description 201 (defrecord shape-description
202 [name 202 [name
294 294
295 #+end_src 295 #+end_src
296 296
297 297
298 *** Debug Actions 298 *** Debug Actions
299 #+srcname: debug-actions 299 #+name: debug-actions
300 #+begin_src clojure :results silent 300 #+begin_src clojure :results silent
301 (in-ns 'cortex.util) 301 (in-ns 'cortex.util)
302 302
303 (defn basic-light-setup 303 (defn basic-light-setup
304 "returns a sequence of lights appropiate for fully lighting a scene" 304 "returns a sequence of lights appropiate for fully lighting a scene"
363 #+end_src 363 #+end_src
364 364
365 365
366 *** Viewing Objects 366 *** Viewing Objects
367 367
368 #+srcname: world-view 368 #+name: world-view
369 #+begin_src clojure :results silent 369 #+begin_src clojure :results silent
370 (in-ns 'cortex.util) 370 (in-ns 'cortex.util)
371 371
372 (defprotocol Viewable 372 (defprotocol Viewable
373 (view [something])) 373 (view [something]))