[ODE] dRandInt Crash Fix

Adam D. Moss adam at gimp.org
Wed Jun 22 23:08:25 MST 2005


Jere Sanisalo wrote:
> All this talk about random generators.. :) I'd like to know the reasons for
> not using Mersenne Twister as a random generator? The net has a readily wide
> supply of ready routines, and as I gather, it's not too slow and it's
> integer based (which really is a boon for those developing for game
> consoles, as they may have only 32bit floating point in hw, not doubles at
> all).

ODE's PRNG is as simple+good as it needs to be for ODE.  It is, and
always has been, int-only.  The problem is specifically with dRandInt(),
not the underlying dRand() PRNG.

--adam
-- 
Adam D. Moss   -   adam at gimp.org


More information about the ODE mailing list