Function ludomath::num::lerp_clamped
[−]
[src]
pub fn lerp_clamped(start: f32, end: f32, t: f32) -> f32
Linearly inpterpolates from start
to end
by t
.
t
is clamped to the range [0, 1].