| 64 | #[derive(Copy, Clone, Zeroable, Pod)] |
| 65 | #[repr(C)] |
| 66 | struct Sprite { |
| 67 | // The order of these fields matters, as it'll determine the |
| 68 | // winding order of the quad. |
| 69 | top_left: Vertex, |
| 70 | bottom_left: Vertex, |
| 71 | bottom_right: Vertex, |
| 72 | top_right: Vertex, |
| 73 | } |
| 74 | |
| 75 | #[derive(Clone, Default)] |
| 76 | struct Batch { |
nothing calls this directly
no outgoing calls
no test coverage detected