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

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

Definition at line 277 of file ChangingToView.h.

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

Referenced by OnDrawView().

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

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:15 2011 for ImpalaSrc by  doxygen 1.5.1