Mercurial > cortex
diff org/movement.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 | 2c7fbcbd5ebb |
children | 702b5c78c2de |
line wrap: on
line diff
1.1 --- a/org/movement.org Tue Feb 28 13:44:46 2012 -0600 1.2 +++ b/org/movement.org Tue Feb 28 14:04:21 2012 -0600 1.3 @@ -63,11 +63,12 @@ 1.4 #+begin_src clojure 1.5 (in-ns 'cortex.movement) 1.6 1.7 -(defvar 1.8 - ^{:arglists '([creature])} 1.9 +(def 1.10 + ^{:doc "Return the children of the creature's \"muscles\" node." 1.11 + :arglists '([creature])} 1.12 muscles 1.13 - (sense-nodes "muscles") 1.14 - "Return the children of the creature's \"muscles\" node.") 1.15 + (sense-nodes "muscles")) 1.16 + 1.17 1.18 (defn muscle-profile-image 1.19 "Get the muscle-profile image from the node's blender meta-data." 1.20 @@ -292,7 +293,6 @@ 1.21 to move around in a simulated environment." 1.22 {:author "Robert McIntyre"} 1.23 (:use (cortex world util sense body)) 1.24 - (:use clojure.contrib.def) 1.25 (:import java.awt.image.BufferedImage) 1.26 (:import com.jme3.scene.Node) 1.27 (:import com.jme3.math.Vector3f) 1.28 @@ -304,7 +304,6 @@ 1.29 (ns cortex.test.movement 1.30 (:use (cortex world util sense body movement)) 1.31 (:use cortex.test.body) 1.32 - (:use clojure.contrib.def) 1.33 (:import java.io.File) 1.34 (:import java.awt.image.BufferedImage) 1.35 (:import com.jme3.scene.Node)