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