[][src]Function pbrt::core::geometry::vec2_doti

pub fn vec2_doti(v1: &Vector2i, v2: &Vector2i) -> i32

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.