Math.Random() returns identical results if called in close succession.
Closed this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
-Call Math.Random() or Math.Random(float lo, float hi) in close succession.
What is the expected output? What do you see instead?
-Expect a random result.
-Same result if called in close succession.
What version of the product are you using? On what operating system?
-http://box2dx.googlecode.com/svn/trunk R36
-Vista X64
Please provide any additional information below.
-Making "Random rnd = new Random();" a static member of Math class would
resolve the issue.
Original issue reported on code.google.com by rjani...@gmail.com
on 14 Aug 2008 at 4:53
GoogleCodeExporter commented
rjanicek, Thanks for the report! This issue has been fixed.
Original comment by ihar3d@gmail.com
on 7 Oct 2008 at 8:50
GoogleCodeExporter commented
Original comment by ihar3d@gmail.com
on 7 Oct 2008 at 8:51
- Changed state: Fixed