Mercurial > cortex
comparison org/skin.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 | 63951929fe44 |
children | 6cd5a034d855 |
comparison
equal
deleted
inserted
replaced
65:4b5f00110d8c | 66:1381a6ebd08b |
---|---|
15 given area is determined by how complicated that area is, as | 15 given area is determined by how complicated that area is, as |
16 determined by the total number of triangles in that region. This way, | 16 determined by the total number of triangles in that region. This way, |
17 complicated regions like the hands/face, etc. get more touch receptors | 17 complicated regions like the hands/face, etc. get more touch receptors |
18 than simpler areas of the body. | 18 than simpler areas of the body. |
19 | 19 |
20 #+srcname: skin-main | 20 #+name: skin-main |
21 #+begin_src clojure | 21 #+begin_src clojure |
22 (ns cortex.touch | 22 (ns cortex.touch |
23 "Simulate the sense of touch in jMonkeyEngine3. Enables any Geometry | 23 "Simulate the sense of touch in jMonkeyEngine3. Enables any Geometry |
24 to be outfitted with touch sensors with density proportional to the | 24 to be outfitted with touch sensors with density proportional to the |
25 density of triangles along the surface of the Geometry. Enables a | 25 density of triangles along the surface of the Geometry. Enables a |
103 #+end_src | 103 #+end_src |
104 | 104 |
105 | 105 |
106 * Example | 106 * Example |
107 | 107 |
108 #+srcname: touch-test | 108 #+name: touch-test |
109 #+begin_src clojure | 109 #+begin_src clojure |
110 (ns test.touch | 110 (ns test.touch |
111 (:use (cortex world util touch)) | 111 (:use (cortex world util touch)) |
112 (:import | 112 (:import |
113 com.jme3.scene.shape.Sphere | 113 com.jme3.scene.shape.Sphere |