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

void OglGui::ChangingToView::RotateTo ( float  rX,
float  rY,
float  rZ,
int  duration = 500 
) [inline]

Definition at line 86 of file ChangingToView.h.

References mCurRotX, mCurRotY, mCurRotZ, mIsOnDestiny, mReqRotX, mReqRotY, mReqRotZ, mRotateDuration, mRotateStartTime, mStartRotX, mStartRotY, mStartRotZ, OglGui::View::mView3D, and StartClock().

00087     {
00088         mReqRotX = (rX != FRETAIN ? rX : mView3D->xRot);
00089         mReqRotY = (rY != FRETAIN ? rY : mView3D->yRot);
00090         mReqRotZ = (rZ != FRETAIN ? rZ : mView3D->zRot);
00091 
00092         mStartRotX = mCurRotX = mView3D->xRot;
00093         mStartRotY = mCurRotY = mView3D->yRot;
00094         mStartRotZ = mCurRotZ = mView3D->zRot;
00095 
00096         mIsOnDestiny        = false;
00097         mRotateDuration     = duration;
00098         mRotateStartTime    = StartClock();
00099     }

Here is the call graph for this function:


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