Skip to content

Commit

Permalink
Remove inline(always)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shute052 committed Feb 19, 2024
1 parent 59b2eec commit d77e1c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/axislike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,6 @@ impl DeadZoneShape {
///
/// Returns 0.0 if the axis value is within the deadzone.
/// Otherwise, returns the normalized axis value between -1.0 and 1.0.
#[inline(always)]
pub(crate) fn deadzone_axis_value(axis_value: f32, deadzone: f32) -> f32 {
let abs_axis_value = axis_value.abs();
if abs_axis_value <= deadzone {
Expand Down

0 comments on commit d77e1c4

Please sign in to comment.