use crate::prelude::*;
#[derive(Clone, Debug, TypeUlid)]
#[ulid = "01GQDVVZNVCPF1N4ADX0WVH53E"]
pub struct Path2d {
pub color: Color,
pub points: Vec<Vec2>,
pub thickness: f32,
pub line_breaks: Vec<usize>,
}
impl Default for Path2d {
fn default() -> Self {
Self {
thickness: 1.0,
points: default(),
color: Color::WHITE,
line_breaks: default(),
}
}
}