Skip to main content

pull_vertical_offset

Function pull_vertical_offset 

Source
pub fn pull_vertical_offset(adjusted_distance: f32, threshold: f32) -> f32
Expand description

The indicator offset for an adjusted distance pulled: linear to the threshold, then on the tension curve, at most twice the threshold.