diff --git a/assets/navigation_cube/bottom.png b/crates/fj-viewer/assets/navigation_cube/bottom.png similarity index 100% rename from assets/navigation_cube/bottom.png rename to crates/fj-viewer/assets/navigation_cube/bottom.png diff --git a/assets/navigation_cube/cube.blend b/crates/fj-viewer/assets/navigation_cube/cube.blend similarity index 100% rename from assets/navigation_cube/cube.blend rename to crates/fj-viewer/assets/navigation_cube/cube.blend diff --git a/assets/navigation_cube/cube.mtl b/crates/fj-viewer/assets/navigation_cube/cube.mtl similarity index 100% rename from assets/navigation_cube/cube.mtl rename to crates/fj-viewer/assets/navigation_cube/cube.mtl diff --git a/assets/navigation_cube/cube.obj b/crates/fj-viewer/assets/navigation_cube/cube.obj similarity index 100% rename from assets/navigation_cube/cube.obj rename to crates/fj-viewer/assets/navigation_cube/cube.obj diff --git a/assets/navigation_cube/front.png b/crates/fj-viewer/assets/navigation_cube/front.png similarity index 100% rename from assets/navigation_cube/front.png rename to crates/fj-viewer/assets/navigation_cube/front.png diff --git a/assets/navigation_cube/left.png b/crates/fj-viewer/assets/navigation_cube/left.png similarity index 100% rename from assets/navigation_cube/left.png rename to crates/fj-viewer/assets/navigation_cube/left.png diff --git a/assets/navigation_cube/rear.png b/crates/fj-viewer/assets/navigation_cube/rear.png similarity index 100% rename from assets/navigation_cube/rear.png rename to crates/fj-viewer/assets/navigation_cube/rear.png diff --git a/assets/navigation_cube/right.png b/crates/fj-viewer/assets/navigation_cube/right.png similarity index 100% rename from assets/navigation_cube/right.png rename to crates/fj-viewer/assets/navigation_cube/right.png diff --git a/assets/navigation_cube/top.png b/crates/fj-viewer/assets/navigation_cube/top.png similarity index 100% rename from assets/navigation_cube/top.png rename to crates/fj-viewer/assets/navigation_cube/top.png diff --git a/crates/fj-viewer/src/assets.rs b/crates/fj-viewer/src/assets.rs index 9e98d806c..49f94cf47 100644 --- a/crates/fj-viewer/src/assets.rs +++ b/crates/fj-viewer/src/assets.rs @@ -12,21 +12,21 @@ pub struct Assets<'a> { impl<'a> Assets<'a> { pub fn get_instance() -> Self { let cube_obj: &[u8] = - include_bytes!("../../../assets/navigation_cube/cube.obj"); + include_bytes!("../assets/navigation_cube/cube.obj"); let cube_mtl: &[u8] = - include_bytes!("../../../assets/navigation_cube/cube.mtl"); + include_bytes!("../assets/navigation_cube/cube.mtl"); let front_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/front.png"); + include_bytes!("../assets/navigation_cube/front.png"); let right_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/right.png"); + include_bytes!("../assets/navigation_cube/right.png"); let rear_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/rear.png"); + include_bytes!("../assets/navigation_cube/rear.png"); let left_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/left.png"); + include_bytes!("../assets/navigation_cube/left.png"); let top_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/top.png"); + include_bytes!("../assets/navigation_cube/top.png"); let bottom_texture: &[u8] = - include_bytes!("../../../assets/navigation_cube/bottom.png"); + include_bytes!("../assets/navigation_cube/bottom.png"); Self { cube_obj,