From b94ed8a3ef8017c4850a3c148ba665b2c8cbcedb Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 6 Jun 2023 12:34:40 +0200 Subject: [PATCH] Update module name --- crates/fj-interop/src/lib.rs | 2 +- crates/fj-interop/src/{processed_shape.rs => model.rs} | 0 crates/fj-viewer/src/camera.rs | 2 +- crates/fj-viewer/src/viewer.rs | 2 +- crates/fj-window/src/display.rs | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename crates/fj-interop/src/{processed_shape.rs => model.rs} (100%) diff --git a/crates/fj-interop/src/lib.rs b/crates/fj-interop/src/lib.rs index dc518515b..afc1b93d8 100644 --- a/crates/fj-interop/src/lib.rs +++ b/crates/fj-interop/src/lib.rs @@ -13,4 +13,4 @@ pub mod ext; pub mod mesh; -pub mod processed_shape; +pub mod model; diff --git a/crates/fj-interop/src/processed_shape.rs b/crates/fj-interop/src/model.rs similarity index 100% rename from crates/fj-interop/src/processed_shape.rs rename to crates/fj-interop/src/model.rs diff --git a/crates/fj-viewer/src/camera.rs b/crates/fj-viewer/src/camera.rs index 39ae33dba..5f328f186 100644 --- a/crates/fj-viewer/src/camera.rs +++ b/crates/fj-viewer/src/camera.rs @@ -1,7 +1,7 @@ //! Viewer camera module use std::f64::consts::FRAC_PI_2; -use fj_interop::{mesh::Mesh, processed_shape::Model}; +use fj_interop::{mesh::Mesh, model::Model}; use fj_math::{Aabb, Point, Scalar, Transform, Vector}; use crate::screen::NormalizedScreenPosition; diff --git a/crates/fj-viewer/src/viewer.rs b/crates/fj-viewer/src/viewer.rs index e2a6fe311..24cbc25e7 100644 --- a/crates/fj-viewer/src/viewer.rs +++ b/crates/fj-viewer/src/viewer.rs @@ -1,4 +1,4 @@ -use fj_interop::processed_shape::Model; +use fj_interop::model::Model; use fj_math::Aabb; use tracing::warn; diff --git a/crates/fj-window/src/display.rs b/crates/fj-window/src/display.rs index ce81f9cb7..fb9ca48aa 100644 --- a/crates/fj-window/src/display.rs +++ b/crates/fj-window/src/display.rs @@ -1,4 +1,4 @@ -use fj_interop::{mesh::Mesh, processed_shape::Model}; +use fj_interop::{mesh::Mesh, model::Model}; use fj_math::{Aabb, Point}; use fj_viewer::{ InputEvent, NormalizedScreenPosition, RendererInitError, Screen,