Don't evaluate the ActorScroller transform function every time though Draw.
Cache TweenState values at a provided interval, then interpolate between the TweenStates. TODO: Precalculate these TweenStates in Init?
This commit is contained in:
@@ -120,6 +120,7 @@ void HighScoreWheel::Load( const HighScoreList& hsl, int iIndexToFocus )
|
||||
10.5,
|
||||
false,
|
||||
sTransformFunction,
|
||||
1,
|
||||
false,
|
||||
false );
|
||||
Scroll();
|
||||
|
||||
Reference in New Issue
Block a user