pub fn draw_poly_line(
points: &[Vector2],
thickness: f32,
color: Color,
closed: bool,
)Expand description
Draws connected line segments through points with mitered joins.
If closed is true, the last point connects back to the first.
ยงExamples
let pts = [Vector2::new(50.0, 50.0), Vector2::new(150.0, 80.0), Vector2::new(100.0, 160.0)];
draw_poly_line(&pts, 3.0, WHITE, true);