Skip to content

Commit

Permalink
Make SPRING_MASS public
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrea-c committed Sep 22, 2024
1 parent d88dac1 commit b46e9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pub mod prelude {
pub use steppers::{
core::TickInterpolator,
linear_stepper::LinearStepper,
spring_stepper::{critical_damp_coeff, SpringStepper},
spring_stepper::{critical_damp_coeff, SpringStepper, SPRING_MASS},
};
}
2 changes: 1 addition & 1 deletion src/steppers/spring_stepper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ where
pub damping: f32,
}

const SPRING_MASS: f32 = 1.;
pub const SPRING_MASS: f32 = 1.;

impl<T, D> SpringStepper<T, D>
where
Expand Down

0 comments on commit b46e9c2

Please sign in to comment.