Function rs_pbrt::core::geometry::vec3_dot_nrmi
source · pub fn vec3_dot_nrmi(v1: &Vector3i, n2: &Normal3i) -> i32
Expand description
Product of the Euclidean magnitudes of a vector (and a normal) and the cosine of the angle between them. A return value of zero means both are orthogonal, a value if one means they are codirectional.