| 12 | const INDEX_ARRAY: [u32; 6] = [0, 1, 2, 2, 3, 0]; |
| 13 | |
| 14 | pub struct DrawParams { |
| 15 | color: Color, |
| 16 | origin: Vec2, |
| 17 | scale: Vec2, |
| 18 | rotation: f32, |
| 19 | flip: BVec2, |
| 20 | } |
| 21 | |
| 22 | impl DrawParams { |
| 23 | pub fn new() -> DrawParams { |
nothing calls this directly
no outgoing calls
no test coverage detected