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:
|