[ODE] rand vs dRand

Adam D. Moss adam at gimp.org
Wed Apr 28 17:55:39 MST 2004


Marc Rochel wrote:
> Is there a reason why there's used rand() instead of dRand() in 
> dInternalStepIslandFast() in stepfast.cpp at line 837?

I'm guessing that the author didn't know about dRand().
StepFast doesn't need a very good PRNG I think, so dRandInt
is probably fine.  I'll have an experiment...

--Adam
-- 
Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3


More information about the ODE mailing list