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

Offline nrshida

  • Plutonium Member
  • *******
  • Posts: 8726
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.


"Skyyr squealed with glee like a teenager watching that guy get mad while Skyyr shade griefed him for days on end." - Vraciu,
August 28, 2014 0:42:01 PM