mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Display current delta time when interpolation is happening
This commit is contained in:
@@ -51,14 +51,14 @@ struct TimeKeyframeData {
|
||||
|
||||
class TimeManager : public properties::PropertyOwner {
|
||||
public:
|
||||
TimeManager();
|
||||
|
||||
using CallbackHandle = int;
|
||||
using TimeChangeCallback = std::function<void()>;
|
||||
|
||||
TimeManager();
|
||||
|
||||
const Time& time() const;
|
||||
const Time& integrateFromTime() const;
|
||||
const Timeline<TimeKeyframeData>& timeline();
|
||||
const Timeline<TimeKeyframeData>& timeline() const;
|
||||
|
||||
std::vector<Syncable*> getSyncables();
|
||||
void preSynchronization(double dt);
|
||||
@@ -105,6 +105,7 @@ public:
|
||||
void removeDeltaTimeChangeCallback(CallbackHandle handle);
|
||||
void removeTimeJumpCallback(CallbackHandle handle);
|
||||
void removeTimelineChangeCallback(CallbackHandle handle);
|
||||
|
||||
private:
|
||||
void progressTime(double dt);
|
||||
void applyKeyframeData(const TimeKeyframeData& keyframe);
|
||||
|
||||
Reference in New Issue
Block a user