diff --git a/resources/cube.bin b/resources/models/cube.bin similarity index 100% rename from resources/cube.bin rename to resources/models/cube.bin diff --git a/resources/cube.gltf b/resources/models/cube.gltf similarity index 100% rename from resources/cube.gltf rename to resources/models/cube.gltf diff --git a/resources/cube.obj b/resources/models/cube.obj similarity index 100% rename from resources/cube.obj rename to resources/models/cube.obj diff --git a/resources/monkey-smooth.bin b/resources/models/monkey-smooth.bin similarity index 100% rename from resources/monkey-smooth.bin rename to resources/models/monkey-smooth.bin diff --git a/resources/monkey-smooth.gltf b/resources/models/monkey-smooth.gltf similarity index 100% rename from resources/monkey-smooth.gltf rename to resources/models/monkey-smooth.gltf diff --git a/resources/monkey.bin b/resources/models/monkey.bin similarity index 100% rename from resources/monkey.bin rename to resources/models/monkey.bin diff --git a/resources/monkey.gltf b/resources/models/monkey.gltf similarity index 100% rename from resources/monkey.gltf rename to resources/models/monkey.gltf diff --git a/resources/uvsphere-smooth.bin b/resources/models/uvsphere-smooth.bin similarity index 100% rename from resources/uvsphere-smooth.bin rename to resources/models/uvsphere-smooth.bin diff --git a/resources/uvsphere-smooth.gltf b/resources/models/uvsphere-smooth.gltf similarity index 100% rename from resources/uvsphere-smooth.gltf rename to resources/models/uvsphere-smooth.gltf diff --git a/resources/uvsphere.bin b/resources/models/uvsphere.bin similarity index 100% rename from resources/uvsphere.bin rename to resources/models/uvsphere.bin diff --git a/resources/uvsphere.gltf b/resources/models/uvsphere.gltf similarity index 100% rename from resources/uvsphere.gltf rename to resources/models/uvsphere.gltf diff --git a/resources/uvsphere2.bin b/resources/models/uvsphere2.bin similarity index 100% rename from resources/uvsphere2.bin rename to resources/models/uvsphere2.bin diff --git a/resources/uvsphere2.gltf b/resources/models/uvsphere2.gltf similarity index 100% rename from resources/uvsphere2.gltf rename to resources/models/uvsphere2.gltf diff --git a/src/main.rs b/src/main.rs index 74fda0c..7f5a5a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,7 @@ fn main() -> Result<()> { let mut time = time::Time::new(); let object_ent = { - let mesh = model::load_gltf("resources/monkey-smooth.gltf", &display)?; + let mesh = model::load_gltf("resources/models/monkey.gltf", &display)?; ecsr.spawn_mesh(mesh, Transform { translation: Vec3::ZERO, rotation: Quat::IDENTITY,