Author Topic: Use random number function a little more often.  (Read 784 times)

Offline nrshida

  • Plutonium Member
  • *******
  • Posts: 8632
Re: Use random number function a little more often.
« Reply #15 on: April 02, 2012, 12:12:18 PM »
I have some random number generating C code somewhere abouts if it helps. I also used it for my vector library a long time ago. I've often thought it would make the fluttering debris look more realistic instead of it all falling in perfect formation and rotating around the same fixed vector at a constant speed.

I got the algorithms / functions from Numerical Recipes in C (ISBN 0-521-43108-5.), but had to modify them to make it work correctly.


"If man were meant to fly, he'd have been given an MS Sidewinder"