[−][src]Function pbrt::core::geometry::nrm_dot_vec3
pub fn nrm_dot_vec3<T>(n1: &Normal3<T>, v2: &Vector3<T>) -> T where
T: Copy + Add<T, Output = T> + Mul<T, Output = T>,
Product of the Euclidean magnitudes of a normal (and a vector) 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.