| 86 | } |
| 87 | |
| 88 | double Interpolator::GetT() const |
| 89 | { |
| 90 | if (IsFinished()) |
| 91 | return 1.0; |
| 92 | |
| 93 | return std::max(m_elapsedTime - m_delay, 0.0) / m_duration; |
| 94 | } |
| 95 | |
| 96 | double Interpolator::GetElapsedTime() const |
| 97 | { |
no outgoing calls
no test coverage detected