pub fn nrm_faceforward_nrm(n: &Normal3f, n2: &Normal3f) -> Normal3f {
    if nrm_dot_nrmf(n, n2) < 0.0 as Float {
        -(*n)
    } else {
        *n
    }
}
/// Flip a surface normal so that it lies in the same hemisphere as a
/// given normal.
Flip a surface normal so that it lies in the same hemisphere as a
given normal.
Flip a surface normal so that it lies in the same hemisphere as a given normal .
pub fn nrm_faceforward_nrm(n: &Normal3f, n2: &Normal3f) -> Normal3f {
    if nrm_dot_nrmf(n, n2) < 0.0 as Float {
        -(*n)
    } else {
        *n
    }
}
pub fn nrm_faceforward_nrm ( n : & Normal3f , n2 : & Normal3f ) -> Normal3f { if nrm_dot_nrmf ( n , n2 ) < 0.0 as Float { - ( * n ) } else { * n } }
Flip a surface normal so that it lies in the same hemisphere as a
given normal.
Flip a surface normal so that it lies in the same hemisphere as a given normal .
n
&Normal3f
n2
&Normal3f