mesh loading, broken mesh

This commit is contained in:
zomseffen 2024-04-26 18:22:14 +02:00
parent f6276bfdf6
commit 31d4a139ef
9 changed files with 16153 additions and 27 deletions

View file

@ -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()?;