fix: update model path to new directory
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Successful in 11s
Build Zenyx ⚡ / 🧪 Run Cargo Tests (push) Failing after 51s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped

This commit is contained in:
lily 2025-04-21 18:55:46 -04:00
parent 4a76fc88fd
commit 3816c8567e
Signed by: lily
GPG key ID: 601F3263FBCBC4B9

View file

@ -305,7 +305,7 @@ impl WgpuState {
surface.configure(&device, &surface_config);
let pumpkin = model::Model::load_obj(
&mut BufReader::new(std::fs::File::open("Pumpkin.obj").unwrap()),
&mut BufReader::new(std::fs::File::open("assets/Pumpkin.obj").unwrap()),
&device,
&queue,
&texture_bind_group_layout,