rename time => timestamp to avoid naming conflicts

This commit is contained in:
Konstantin Käfer
2014-06-27 15:52:45 +02:00
parent 6de9d9769e
commit 6d9de75732
15 changed files with 79 additions and 79 deletions

View File

@@ -3,7 +3,7 @@
using namespace llmr;
// Record frame history that will be used to calculate fading params
void FrameHistory::record(time now, float zoom) {
void FrameHistory::record(timestamp now, float zoom) {
// first frame ever
if (!history.size()) {
history.emplace_back(FrameSnapshot{0, zoom});
@@ -15,7 +15,7 @@ void FrameHistory::record(time now, float zoom) {
}
}
bool FrameHistory::needsAnimation(const time duration) const {
bool FrameHistory::needsAnimation(const timestamp duration) const {
if (!history.size()) {
return false;
}