[−][src]Function pbrt::core::sampling::cosine_sample_hemisphere
pub fn cosine_sample_hemisphere(u: &Point2f) -> Vector3f
Cosine-weighted hemisphere sampling using Malley's method.
pub fn cosine_sample_hemisphere(u: &Point2f) -> Vector3f
Cosine-weighted hemisphere sampling using Malley's method.