value = 2.0f * std::abs( progress - 0.5f );
}
}
+ else
+ {
+ value = progress;
+ }
return value;
}
*/
virtual void Update( BufferIndex bufferIndex, float progress, bool bake )
{
- if( mLoopCount != 1 ) // Looping mode
+ if( mLoopCount >= 0 )
{
// Update the progress value
progress = SetProgress( progress );
*/
virtual void Update( BufferIndex bufferIndex, float progress, bool bake )
{
- if( mLoopCount != 1 ) // Looping mode
+ if( mLoopCount >= 0 )
{
// Update the progress value
progress = SetProgress( progress );