Skip to main content

exponential_approach

Function exponential_approach 

Source
pub fn exponential_approach(old_value: f32, exponent: f32, target: f32) -> f32
Expand description

Nähert old_value exponentiell an target an (f32-Variante).

Exponentially approaches target from old_value (f32 variant).