3d model loading

This commit is contained in:
Werner
2021-11-05 12:36:09 -03:00
parent 7792887fba
commit c5dbf96177
14 changed files with 746 additions and 577 deletions

7
Source/Material.rs Normal file
View File

@ -0,0 +1,7 @@
use crate::Texture;
pub struct Material {
pub name: String,
pub diffuse_texture: Texture,
pub bind_group: wgpu::BindGroup,
}