fix: update model path to new directory
This commit is contained in:
parent
d4a971170f
commit
c405f6ee45
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue