bevy_mod_gizmos/
line.rs

1use bevy::prelude::*;
2
3/// A pixel wide lline
4pub struct Line {
5    pub(crate) points: Vec<Vec3>,
6    pub(crate) color: Color,
7}
8
9impl Line {
10    /// Line constructor
11    pub fn new(points: Vec<Vec3>, color: Color) -> Self {
12        Self { points, color }
13    }
14}