diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-15 20:49:45 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-15 20:49:45 +0200 |
commit | 53bd35b77a1240bc0d571d1e7cff3591ca6fde9a (patch) | |
tree | 49646c59e3786436655b809c09d113e6124eaa63 /light-client/tools/src/bin/tex_pack.rs | |
parent | c82a2bf203f3495865fd40527fa41a9e32f7aa9c (diff) | |
download | hurrycurry-53bd35b77a1240bc0d571d1e7cff3591ca6fde9a.tar hurrycurry-53bd35b77a1240bc0d571d1e7cff3591ca6fde9a.tar.bz2 hurrycurry-53bd35b77a1240bc0d571d1e7cff3591ca6fde9a.tar.zst |
texture compose system
Diffstat (limited to 'light-client/tools/src/bin/tex_pack.rs')
-rw-r--r-- | light-client/tools/src/bin/tex_pack.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/light-client/tools/src/bin/tex_pack.rs b/light-client/tools/src/bin/tex_pack.rs index aadd9e16..e6d73ab3 100644 --- a/light-client/tools/src/bin/tex_pack.rs +++ b/light-client/tools/src/bin/tex_pack.rs @@ -45,13 +45,14 @@ fn main() { let mut texels = vec![vec![' '; atlas_size]; atlas_size]; let mut metadata = Vec::new(); + println!(" savepack {atlas_out:?}"); for path in inputs { let file = BufReader::new(File::open(&path).unwrap()); let tex = file.lines().map(Result::unwrap).collect::<Vec<String>>(); let name = path.file_stem().unwrap().to_str().unwrap().to_string(); let (width, height) = (tex[0].chars().count(), tex.len()); - println!("adding {width}x{height} {name}"); + println!(" + {width}x{height} {name}"); if cursor_x + width > atlas_size { cursor_y += row_height; |