pub fn cosine_sample_hemisphere(u: &Point2f) -> Vector3f
Expand description

Cosine-weighted hemisphere sampling using Malley’s method.