Function mathio::tween

source ·
pub fn tween(value_1: f32, value_2: f32, slider: f32) -> f32
Expand description

Tween

Very simple function for linear interpolation between 2 values.

  • slide ranges from 0.0 to 1.0