Draft Box primitive

This commit is contained in:
Héctor Ramón Jiménez 2019-10-06 19:22:25 +02:00
parent 5a5ca34b5f
commit 7765e6da50
4 changed files with 44 additions and 10 deletions

View file

@ -144,6 +144,9 @@ impl Renderer {
scale: wgpu_glyph::Scale { x: *size, y: *size },
..Default::default()
}),
Primitive::Box { bounds, background } => {
// TODO: Batch boxes and draw them all at once
}
}
}
}