Replaced dRandInt implementation as suggest by [1]. This also fixes a bug encountered by [2], where dRandInt would return a value greater than N (it should return a value between 0 and N-1).
Replaced dRandInt implementation as suggest by [1].
This also fixes a bug encountered by [2], where dRandInt would return
a value greater than N (it should return a value between 0 and N-1).

[1] http://q12.org/pipermail/ode/2005-May/015834.html
[2] http://q12.org/pipermail/ode/2005-June/016143.html


git-svn-id: 3ac994701b00ead0e0b6bba5e662eaf5786b6744@784 685f7672-210f-0410-90b4-fe3ad19314fe

vancegroup-mirrors/open-dynamics-engine-svnmirror,vancegroup-mirrors/open-dynamics-engine-svnmirror,vancegroup-mirrors/open-dynamics-engine-svnmirror,vancegroup-mirrors/open-dynamics-engine-svnmirror,vancegroup-mirrors/open-dynamics-engine-svnmirror