Original Post
I have an asteroid field object in my game which needs to provide a somewhat even distribution of asteroids within a sphere of a given radius. It will generate ''n'' asteroids, of a given size and reject those that it can''t place within the sphere. What''s the best (i.e. fastest) way to go about doing this? Random placement is preferable, but uniform is ok since random on a computer will end up giving me a uniform distribution anyway.