Remove unused

This commit is contained in:
John Firebaugh
2015-04-01 14:32:44 -07:00
parent 7c05f941a8
commit 7f58840991
2 changed files with 0 additions and 24 deletions

View File

@@ -89,18 +89,3 @@ void Raster::bind(const GLuint custom_texture) {
}
}
void Raster::beginFadeInTransition() {
TimePoint start = Clock::now();
fade_transition = std::make_shared<util::ease_transition<double>>(opacity, 1.0, opacity, start, std::chrono::milliseconds(250));
}
bool Raster::needsTransition() const {
return fade_transition != nullptr;
}
void Raster::updateTransitions(TimePoint now) {
if (fade_transition->update(now) == util::transition::complete) {
fade_transition = nullptr;
}
}