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

void OglGui::ChangingToView::DoRotatePhysics (  )  [inline, private]

Definition at line 275 of file ChangingToView.h.

References mReqRotX, mReqRotY, mReqRotZ, mRotateDuration, mRotateTimePassed, mStartRotX, mStartRotY, mStartRotZ, TimePassedFactor(), and UpdateRotations().

Referenced by OnDrawView().

00276     {
00277         float fact = TimePassedFactor(mRotateTimePassed,mRotateDuration);
00278         float rX = mStartRotX + fact * (mReqRotX-mStartRotX);
00279         float rY = mStartRotY + fact * (mReqRotY-mStartRotY);
00280         float rZ = mStartRotZ + fact * (mReqRotZ-mStartRotZ);
00281         UpdateRotations(rX,rY,rZ);
00282     }

Here is the call graph for this function:


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