[ODE] Precision specific functions

Jason Perkins starkos at gmail.com
Sat Sep 2 04:26:29 MST 2006


On 9/1/06, Jon Watte (ODE) <hplus-ode at mindcontrol.org> wrote:
> I would assume that an API that uses f/d would also provide the
> non-suffixed function, which would continue to take dReal as today.

That was the plan. So what do people think? Useful? Or just more
clutter that belongs in a wrapper?

FYI, to get things working in the short term, I have added two methods:

  void dBodyCopyPosition(dBodyID b, dVector3 pos);
  void dBodyCopyOrientation(dBodyID b, dQuaternion quat);

...which allow me to get the body state in .NET (and presumably other
pointer-less environments) without resorting to unsafe code. The f/d
approach, if we take it, would supersede these methods and I will pull
them out.

Jason


More information about the ODE mailing list