moved progress calculations from openglworker to transitionblock

These functions are universal transition functions that have use outside of
the OpenGL workers.
This commit is contained in:
itsmattkc
2020-01-06 16:35:45 +11:00
parent 8391a732b1
commit 8358d7d221
3 changed files with 49 additions and 18 deletions
+6
View File
@@ -21,7 +21,13 @@ public:
Block* connected_out_block() const;
Block* connected_in_block() const;
double GetTotalProgress(const rational& time) const;
double GetOutProgress(const rational& time) const;
double GetInProgress(const rational& time) const;
private:
double GetInternalTransitionTime(const rational& time) const;
NodeInput* out_block_input_;
NodeInput* in_block_input_;