| 84 | } |
| 85 | |
| 86 | void TransformStack::motionBegin( const std::vector<float> × ) |
| 87 | { |
| 88 | // resample the current stack top at the specified times |
| 89 | Samples newSamples; |
| 90 | for( std::vector<float>::const_iterator it = times.begin(), eIt = times.end(); it != eIt; ++it ) |
| 91 | { |
| 92 | newSamples.push_back( Sample( *it, get( *it ) ) ); |
| 93 | } |
| 94 | m_stack.top() = newSamples; |
| 95 | |
| 96 | m_motionIndex = 0; |
| 97 | } |
| 98 | |
| 99 | void TransformStack::motionEnd() |
| 100 | { |