You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,9 +69,9 @@ class PresetTransition : public RenderItem
59
69
std::shared_ptr<Shader> m_transitionShader; //!< The compiled shader used for this transition.
60
70
std::shared_ptr<Sampler> m_presetSampler{std::make_shared<Sampler>(GL_CLAMP_TO_EDGE, GL_LINEAR)}; //!< Sampler for preset textures. Uses bilinear interpolation and no repeat.
61
71
62
-
double m_durationSeconds{3.0}; //!< Transition duration in seconds.
63
-
std::chrono::time_point<std::chrono::system_clock> m_transitionStartTime{std::chrono::system_clock::now()}; //!< Start time of this transition. Duration is measured from this point.
64
-
std::chrono::time_point<std::chrono::system_clock> m_lastFrameTime{std::chrono::system_clock::now()}; //!< Time when the previous frame was rendered.
72
+
double m_durationSeconds{3.0}; //!< Transition duration in seconds.
73
+
double m_transitionStartTime{}; //!< Start time of this transition. Duration is measured from this point.
74
+
double m_lastFrameTime{}; //!< Time when the previous frame was rendered.
65
75
66
76
glm::ivec4 m_staticRandomValues{}; //!< Four random integers, remaining static during the whole transition.
0 commit comments