ncollide3d::utils

Function ccw_face_normal

Source
pub fn ccw_face_normal<N: RealField + Copy>(
    pts: [&Point<N>; 3],
) -> Option<Unit<Vector<N>>>
Expand description

Computes the normal of a counter-clock-wise triangle.

Returns None if the triangle is degenerate.