SetTransformFromReference

This commit is contained in:
Glenn Maynard
2006-09-22 03:34:06 +00:00
parent 4ed3cb5970
commit d89cbcd133
+4 -1
View File
@@ -113,9 +113,12 @@ void HighScoreWheel::Load( const HighScoreList& hsl, int iIndexToFocus )
" self:y(math.sin(radians)*90); "
" self:z(math.cos(radians)*90); "
"end";
LuaReference ref;
ref.SetFromExpression( sTransformFunction );
ActorScroller::SetNumItemsToDraw( 10.5f );
ActorScroller::Load2();
ActorScroller::SetTransformFromExpression( sTransformFunction );
ActorScroller::SetTransformFromReference( ref );
ActorScroller::SetSecondsPerItem( 0.2f );
Scroll();
}