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

Class DrawParams

src/graphics/batch.rs:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected