Function rs_pbrt::core::geometry::nrm_cross_vec3
source · pub fn nrm_cross_vec3(n1: &Normal3f, v2: &Vector3f) -> Vector3f
Expand description
Given a normal and a vector in 3D, the cross product is a vector that is perpendicular to both of them.