From 11a7989f049e8e294f545176e12f7e6d252be49c Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 13 Oct 2022 10:01:10 -0400 Subject: Minor changes --- examples/bmp.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/bmp.rs b/examples/bmp.rs index f029efc..39e83e2 100644 --- a/examples/bmp.rs +++ b/examples/bmp.rs @@ -54,6 +54,7 @@ fn main() { renderer.instances_mut().push_instance(Instance { position: [0.5, 0.5], size: [0.75; 2], + rotation: 0.5, texture_size: [icon_width, icon_height], texture_coordinates: [icon_x, icon_y], ..Default::default() @@ -72,7 +73,7 @@ fn main() { renderer.instances_mut().push_instance(Instance { position: [0.0, -0.5], - size: [0.75; 2], + size: [1.5; 2], texture_size: [gator_width, gator_height], texture_coordinates: [gator_x, gator_y], ..Default::default() -- cgit v1.2.3