From: Timothy S. <ti...@st...> - 2004-06-25 08:14:52
|
On Thu, 2004-06-24 at 22:49, Matthias Baas wrote: > Uhm, I must confess that I don't remember the details why I switched > to a global dictionary.... > I suppose it wasn't that straightforward to get to the dictionary > inside the space from within the near callback. Well, but if there's > a better solution it'll be fine with me if we change the code. I've written some code that implements addGeom(), delGeom() and _getGeom() for Space and passes the Space as an argument to near_callback. It seems to work fine with your collision detection tutorial but I'm probably overlooking something. Also, I've just noticed that ODE has dSpaceAdd and dSpaceRemove functions. > Actually, I don't know why it works for me *without* specifying the > lib.... Perhaps you're ODE library has stdc++ statically linked? > So unless someone of you would like to use Leo I'd rather remove > the markup. Go ahead. I use GNU Emacs. This is unrelated but I recommend that we use epydoc markup (http://epydoc.sourceforge.net/) in the docstrings for API documentation (where it is needed). > Another thing is, I'd rather like to split the Pyrex file into several > smaller files as currently it has over 2600 lines which is a rather > big chunk (back then, a Pyrex file could not include other Pyrex > files, but now this is possible). Agreed. --=20 Timothy Stranex <ti...@st...> |