Okay, feel better about this.
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ void AnimatedTexture::SetState( int iState )
|
||||
float AnimatedTexture::GetAnimationLengthSeconds() const
|
||||
{
|
||||
return std::accumulate(vFrames.begin(), vFrames.end(), 0.f,
|
||||
[](float total, AnimatedTextureState state) { return total += state.fDelaySecs; });
|
||||
[](float total, AnimatedTextureState const &state) { return total += state.fDelaySecs; });
|
||||
}
|
||||
|
||||
void AnimatedTexture::SetSecondsIntoAnimation( float fSeconds )
|
||||
|
||||
Reference in New Issue
Block a user