pub fn cosine_sample_hemisphere(u: &Point2f) -> Vector3f
Cosine-weighted hemisphere sampling using Malley’s method.