Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

float OglGui::ChangingToView::TimePassedFactor ( float  tPassed,
float  tDuration 
) [inline, private]

Definition at line 248 of file ChangingToView.h.

References OglGui::View::mView3D.

Referenced by DoMovePhysics(), DoRotatePhysics(), and DoSizePhysics().

00249     {
00250         if (tPassed <= tDuration)
00251             oglSys.UpdateSceneFlag(mView3D->oglWnd,1);
00252         else
00253             tPassed = tDuration;
00254         return tDuration>0 ? tPassed/tDuration : 1;
00255     }


Generated on Fri Mar 19 11:58:55 2010 for ImpalaSrc by  doxygen 1.5.1