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
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:
parent
4a76fc88fd
commit
3816c8567e
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ impl WgpuState {
|
||||||
|
|
||||||
surface.configure(&device, &surface_config);
|
surface.configure(&device, &surface_config);
|
||||||
let pumpkin = model::Model::load_obj(
|
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,
|
&device,
|
||||||
&queue,
|
&queue,
|
||||||
&texture_bind_group_layout,
|
&texture_bind_group_layout,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue