[ODE] dt computation

Jon Watte (ODE) hplus-ode at mindcontrol.org
Mon Apr 3 11:11:39 MST 2006


Bram Stolk wrote:

> I propose a function double dsElapsedTime(void) that returns the nr of
> seconds since the last call to this func.


The problem with this API is that if there are two users, they'll fight.

I suggest just double dsTime(), and keeping the timer counter yourself.


Cheers,

			/ h+


More information about the ODE mailing list