Original Post
Are there any well-known ways to quickly generate a random unit vector in 3D space? Heres what I'm doing now: (In C++)
Vector(rand()%100 - 50,rand()%100 - 50,rand()%100 - 50); // I could exchange the rand for a mersenne twister I suppose.
Vector.normalize();
The problem is the normalization, does anyone know of a way to get around that?