diff options
| author | Micha White <botahamec@outlook.com> | 2022-10-13 09:39:05 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-10-13 09:39:05 -0400 |
| commit | 5d5525ce9201d1a6388260285268baff6019be93 (patch) | |
| tree | 60e69c99282fce114d37cc0a1eb7ac692bbc3632 /src/texture.rs | |
| parent | 630a917c245844a0b56bbefad9902cdcd87103ad (diff) | |
Better example + bug fixes
Diffstat (limited to 'src/texture.rs')
| -rw-r--r-- | src/texture.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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, |
