From 5d5525ce9201d1a6388260285268baff6019be93 Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 13 Oct 2022 09:39:05 -0400 Subject: Better example + bug fixes --- src/texture.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/texture.rs b/src/texture.rs index da69c77..ac2dd63 100644 --- a/src/texture.rs +++ b/src/texture.rs @@ -157,6 +157,9 @@ impl TextureAtlas { packer: TexturePacker::new_skyline(TexturePackerConfig { max_width: width, max_height: height, + allow_rotation: false, + trim: false, + texture_padding: 0, ..Default::default() }), diffuse_texture, -- cgit v1.2.3