MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / Sprite

Class Sprite

src/graphics/batch.rs:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64#[derive(Copy, Clone, Zeroable, Pod)]
65#[repr(C)]
66struct 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)]
76struct Batch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected