(&self, points: Vec<Vector2>, color: [f32; 4], thickness: f32)
| 70 | |
| 71 | #[inline] |
| 72 | pub fn path(&self, points: Vec<Vector2>, color: [f32; 4], thickness: f32) { |
| 73 | self.push( |
| 74 | DrawShape2D::path(points.into_boxed_slice(), color.into(), thickness), |
| 75 | Vector2::ZERO, |
| 76 | ); |
| 77 | } |
| 78 | |
| 79 | #[inline] |
| 80 | pub fn sprite(&self, center: Vector2, texture: TextureID, size: Vector2, tint: [f32; 4]) { |
no test coverage detected