From: Henrik Sundberg (storangen_at_[hidden])
Date: 2007-06-05 17:28:59
2007/6/5, Lewis Hyatt <lhyatt_at_[hidden]>:
> Henrik Sundberg wrote:
> > The result ought to be more dense at the poles.
> The posted trig method is correct, it chooses a horizontal cutting plane
> uniformly. You can show that the surface area of a sphere contained
> between two z-coordinates only depends on the difference between the two
> coordinates, not their location, so this generates the correct distribution.
Aah, sorry for the noise!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk