Function ncollide2d::utils::ccw_face_normal[][src]

pub fn ccw_face_normal<N: Real>(pts: [&Point<N>; 2]) -> Option<Unit<Vector<N>>>

Computes the direction pointing toward the right-hand-side of an oriented segment.

Returns None if the segment is degenerate.