#include "interpolation.h" void Interpolation::start(int length, double amount) { start_ = progress_; dest_ = amount; length_ = length; thus_ = 0; } void Interpolation::tick(double dt) { if (progress_ != dest_) { thus_ += dt; if (thus_ >= length_) { thus_ = length_; } progress_ = (dest_ - start_) / length_ * thus_ + start_; } } ion/atom+xml'/>
about summary refs log tree commit diff stats
path: root/data/maps/the_symbolic/metadata.txtpb
blob: 311dead6765b0863d15c3bf42f8a494ddb5b1d64 (plain) (blame)
1
display_name: "The Symbolic"