(&self, start: Vector2, end: Vector2, color: [f32; 4], thickness: f32)
| 49 | |
| 50 | #[inline] |
| 51 | pub fn line(&self, start: Vector2, end: Vector2, color: [f32; 4], thickness: f32) { |
| 52 | self.push(DrawShape2D::line(end, color.into(), thickness), start); |
| 53 | } |
| 54 | |
| 55 | #[inline] |
| 56 | pub fn polyline(&self, points: Vec<Vector2>, color: [f32; 4], thickness: f32) { |