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