Skip to main content

try_tri_normal

Function try_tri_normal 

Source
pub fn try_tri_normal<T: FloatScalar>(
    v0: &Vector3<T>,
    v1: &Vector3<T>,
    v2: &Vector3<T>,
    epsilon: T,
) -> Option<Vector3<T>>
Expand description

Computes the normal vector of a triangle.

Returns None if the triangle is degenerate.