use crate::prelude::*;
#[derive(Clone, Debug, HasSchema)]
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(),
}
}
}