Function heron::rapier_plugin::rapier2d::parry::utils::ccw_face_normal [−][src]
pub fn ccw_face_normal(
pts: [&OPoint<f32, Const<2_usize>>; 2]
) -> Option<Unit<Matrix<f32, Const<{_: usize}>, Const<1_usize>, ArrayStorage<f32, 2_usize, 1_usize>>>>
Expand description
Computes the direction pointing toward the right-hand-side of an oriented segment.
Returns None
if the segment is degenerate.