Mercurial > cortex
comparison org/touch.org @ 230:f9b7d674aed8
reorganizing touch
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 11 Feb 2012 19:28:36 -0700 |
parents | 6f1be9525e40 |
children | e29dd0024a9e |
comparison
equal
deleted
inserted
replaced
229:6f1be9525e40 | 230:f9b7d674aed8 |
---|---|
303 [#^Geometry geo] | 303 [#^Geometry geo] |
304 (vec (map :geometry (locate-feelers geo)))) | 304 (vec (map :geometry (locate-feelers geo)))) |
305 #+end_src | 305 #+end_src |
306 | 306 |
307 * Physics Collision Objects | 307 * Physics Collision Objects |
308 | |
309 The "hairs" are actually rays which extend from a point on a | |
310 =Triangle= in the =Mesh= normal to the =Triangle's= surface. | |
311 | |
308 #+begin_src clojure | 312 #+begin_src clojure |
309 (defn get-ray-origin | 313 (defn get-ray-origin |
310 "Return the origin which a Ray would have to have to be in the exact | 314 "Return the origin which a Ray would have to have to be in the exact |
311 center of a particular Triangle in the Geometry in World | 315 center of a particular Triangle in the Geometry in World |
312 Coordinates." | 316 Coordinates." |