| 57 | } |
| 58 | |
| 59 | float BenchmarkSequence::GetNextKeyTime(float time) |
| 60 | { |
| 61 | for (int i = 0; i < m_keyFrames.size(); i++) |
| 62 | { |
| 63 | KeyFrame key = m_keyFrames[i]; |
| 64 | if (key.m_time > time) |
| 65 | { |
| 66 | return key.m_time; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | return -1; |
| 71 | } |
| 72 | |
| 73 | const BenchmarkSequence::KeyFrame BenchmarkSequence::GetNextKeyFrame(float time) const |
| 74 | { |