Skip to main content

arrow_geometry

Function arrow_geometry 

Source
fn arrow_geometry(
    from: Pos2,
    to: Pos2,
    width: f32,
) -> Option<(Pos2, Pos2, Pos2)>
Expand description

Calculates the base, left, and right points of an arrow head ending at to.