From 10325cdbc65b8ed12786b7ed3190e5fc0e1b59d8 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 23 May 2022 12:47:01 -0500 Subject: [PATCH] Make fields public. --- src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fd871f0..51240cf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -74,27 +74,27 @@ impl Default for Sound { } #[derive(Component, Clone, Copy, Debug, Deref, DerefMut)] -pub struct DistanceModel(syz::DistanceModel); +pub struct DistanceModel(pub syz::DistanceModel); #[derive(Component, Clone, Copy, Debug, Default, Deref, DerefMut, Reflect)] #[reflect(Component)] -pub struct DistanceRef(f64); +pub struct DistanceRef(pub f64); #[derive(Component, Clone, Copy, Debug, Default, Deref, DerefMut, Reflect)] #[reflect(Component)] -pub struct DistanceMax(f64); +pub struct DistanceMax(pub f64); #[derive(Component, Clone, Copy, Debug, Default, Deref, DerefMut, Reflect)] #[reflect(Component)] -pub struct Rolloff(f64); +pub struct Rolloff(pub f64); #[derive(Component, Clone, Copy, Debug, Default, Deref, DerefMut, Reflect)] #[reflect(Component)] -pub struct ClosenessBoost(f64); +pub struct ClosenessBoost(pub f64); #[derive(Component, Clone, Copy, Debug, Default, Deref, DerefMut, Reflect)] #[reflect(Component)] -pub struct ClosenessBoostDistance(f64); +pub struct ClosenessBoostDistance(pub f64); #[derive(Component, Clone, Copy, Debug, Default, Reflect)] #[reflect(Component)]