diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c3ba235..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/Cargo.toml b/Cargo.toml index d08f77f..008f427 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui-gizmo" -version = "0.16.0" +version = "0.16.1" authors = ["Urho Laukkarinen "] edition = "2021" diff --git a/src/.DS_Store b/src/.DS_Store deleted file mode 100644 index ab919d5..0000000 Binary files a/src/.DS_Store and /dev/null differ diff --git a/src/subgizmo/common.rs b/src/subgizmo/common.rs index 5255a0e..3cc3910 100644 --- a/src/subgizmo/common.rs +++ b/src/subgizmo/common.rs @@ -309,7 +309,7 @@ pub(crate) fn outer_circle_radius(config: &GizmoConfig) -> f64 { (config.scale_factor * (config.visuals.gizmo_size + config.visuals.stroke_width + 5.0)) as f64 } -pub fn gizmo_local_normal(config: &GizmoConfig, direction: GizmoDirection) -> DVec3 { +pub(crate) fn gizmo_local_normal(config: &GizmoConfig, direction: GizmoDirection) -> DVec3 { match direction { GizmoDirection::X => DVec3::X, GizmoDirection::Y => DVec3::Y, @@ -318,7 +318,7 @@ pub fn gizmo_local_normal(config: &GizmoConfig, direction: GizmoDirection) -> DV } } -pub fn gizmo_normal(config: &GizmoConfig, direction: GizmoDirection) -> DVec3 { +pub(crate) fn gizmo_normal(config: &GizmoConfig, direction: GizmoDirection) -> DVec3 { let mut normal = gizmo_local_normal(config, direction); if config.local_space() && direction != GizmoDirection::View { @@ -328,7 +328,7 @@ pub fn gizmo_normal(config: &GizmoConfig, direction: GizmoDirection) -> DVec3 { normal } -pub fn gizmo_color( +pub(crate) fn gizmo_color( subgizmo: &SubGizmoConfig, direction: GizmoDirection, ) -> Color32 {