summaryrefslogtreecommitdiff
path: root/examples/bmp.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-13 10:01:10 -0400
committerMicha White <botahamec@outlook.com>2022-10-13 10:01:10 -0400
commit11a7989f049e8e294f545176e12f7e6d252be49c (patch)
tree6d49e15a1665b72bebf300e749ac7e79561d8674 /examples/bmp.rs
parentd9f7c14787e9eabcdff66cb71e1e9d282f379f75 (diff)
Minor changes
Diffstat (limited to 'examples/bmp.rs')
-rw-r--r--examples/bmp.rs3
1 files changed, 2 insertions, 1 deletions
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()