gltf
This commit is contained in:
@@ -29,7 +29,7 @@ impl Game for TestGame {
|
||||
|
||||
impl TestGame {
|
||||
fn game_start(self: &mut Self, renderer: &mut VulkanRenderer) {
|
||||
self.cube_mesh = Some(renderer.upload_mesh(mesh::load_mesh("models/cube.dae", self.log_config.mesh_load_info).into_iter().nth(0).unwrap()));
|
||||
self.cube_mesh = Some(renderer.upload_mesh(mesh::load_mesh("models/box.gltf", self.log_config.mesh_load_info).unwrap().into_iter().nth(0).unwrap()));
|
||||
println!("Game started.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user