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