mesh loading, broken mesh
This commit is contained in:
parent
f6276bfdf6
commit
31d4a139ef
9 changed files with 16153 additions and 27 deletions
src
|
@ -18,7 +18,7 @@ pub unsafe fn create_texture_image(
|
|||
device: &Device,
|
||||
data: &mut app_data::AppData,
|
||||
) -> Result<()> {
|
||||
let image = File::open("resources/texture.png")?;
|
||||
let image = File::open("resources/viking_room.png")?;
|
||||
|
||||
let decoder = png::Decoder::new(image);
|
||||
let mut reader = decoder.read_info()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue