corner_direction

Function corner_direction 

Source
pub fn corner_direction(p1: Vector, p2: Vector, p3: Vector) -> Orientation
Expand description

Returns the direction of a line through p1, p2 and p3.

Counter-clockwise example: o p1 . o p3 . . . . o p2

Clockwise example: o p2 . . . . . o p3 o p1