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