Function traffloat::liquid::lerp [−][src]
pub fn lerp(
current: &StorageSize,
next: &NextStorageSize,
time: Instant
) -> LiquidVolume
Expand description
Interpolates the current graphical size of a storage.
pub fn lerp(
current: &StorageSize,
next: &NextStorageSize,
time: Instant
) -> LiquidVolume
Interpolates the current graphical size of a storage.