1/// Steps between two different discrete values of any type. 2/// Returns `a` if `t < 1.0`, otherwise returns `b`. 3#[inline] 4pub(crate) fn step_unclamped<T>(a: T, b: T, t: f32) -> T { 5 if t < 1.0 { 6 a 7 } else { 8 b 9 } 10} 11 12