Hit detection

This commit is contained in:
2021-03-16 23:15:17 +01:00
parent a0bfdab902
commit 02f39453ac
4 changed files with 32 additions and 24 deletions

View File

@@ -145,8 +145,7 @@ impl TestGame {
mesh_handles.push(mesh_handle);
}
for doc_image in document.images()
{
for doc_image in document.images() {
let texture_start_time = SystemTime::now();
vulkan::dds::upload_texture_from_file(&format!("models/textures/{}.dds", doc_image.name().unwrap()), renderer).unwrap();