Mercurial > cortex
diff org/body.org @ 317:bb3f8a4af87f
removed references to defvar from clojure.contrib.def since the def from 1.4 now allows for docstrings
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 28 Feb 2012 14:04:21 -0600 |
parents | 83dd76d9628e |
children | 702b5c78c2de |
line wrap: on
line diff
1.1 --- a/org/body.org Tue Feb 28 13:44:46 2012 -0600 1.2 +++ b/org/body.org Tue Feb 28 14:04:21 2012 -0600 1.3 @@ -233,11 +233,11 @@ 1.4 1.5 #+name: joints-2 1.6 #+begin_src clojure 1.7 -(defvar 1.8 - ^{:arglists '([creature])} 1.9 +(def 1.10 + ^{:doc "Return the children of the creature's \"joints\" node." 1.11 + :arglists '([creature])} 1.12 joints 1.13 - (sense-nodes "joints") 1.14 - "Return the children of the creature's \"joints\" node.") 1.15 + (sense-nodes "joints")) 1.16 #+end_src 1.17 1.18 ** Joint Targets and Orientation 1.19 @@ -550,7 +550,6 @@ 1.20 that a creature can have a physical presence in the simulation." 1.21 {:author "Robert McIntyre"} 1.22 (:use (cortex world util sense)) 1.23 - (:use clojure.contrib.def) 1.24 (:import 1.25 (com.jme3.math Vector3f Quaternion Vector2f Matrix3f) 1.26 (com.jme3.bullet.joints