diff --git a/assets/cat_mask_cyberpunk.obj b/assets/models/cat_mask_cyberpunk.obj similarity index 100% rename from assets/cat_mask_cyberpunk.obj rename to assets/models/cat_mask_cyberpunk.obj diff --git a/src/Mesh.hs b/src/Mesh.hs index 1a30d70..680f4db 100644 --- a/src/Mesh.hs +++ b/src/Mesh.hs @@ -43,7 +43,12 @@ loadMeshes allocator uploadContext queue device = do ] triMesh <- uploadMesh triangle allocator uploadContext queue device - maskMesh <- loadFromObj "./assets/cat_mask_cyberpunk.obj" allocator uploadContext queue device + maskMesh <- loadFromObj + "./assets/models/cat_mask_cyberpunk.obj" + allocator + uploadContext + queue + device meshLib <- asks meshLibrary