Function rs_pbrt::core::geometry::nrm_faceforward_vec3
source · pub fn nrm_faceforward_vec3(n: &Normal3f, v: &Vector3f) -> Normal3f
Expand description
Flip a surface normal so that it lies in the same hemisphere as a given vector.