From 53bd35b77a1240bc0d571d1e7cff3591ca6fde9a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 15 Jul 2024 20:49:45 +0200 Subject: texture compose system --- light-client/tools/src/bin/tex_pack.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'light-client/tools/src/bin/tex_pack.rs') 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::>(); 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; -- cgit v1.2.3-70-g09d2