Definition at line 125 of file ChangingToView.h. References IsAt(), mCurRotX, mCurRotY, mCurRotZ, mReqRotX, mReqRotY, mReqRotZ, and OglGui::View::mView3D. Referenced by OnDrawView(). 00126 { 00127 OGLVIEW3D* v = mView3D; 00128 float oX = mCurRotX; 00129 float oY = mCurRotY; 00130 float oZ = mCurRotZ; 00131 00132 bool res = IsAt(mCurRotX,mReqRotX) && IsAt(mCurRotY,mReqRotY) && 00133 IsAt(mCurRotZ,mReqRotZ); 00134 00135 if (oX!=mCurRotX || oY!=mCurRotY || oZ!=mCurRotZ) 00136 { 00137 v->xRot = mCurRotX; 00138 v->yRot = mCurRotY; 00139 v->zRot = mCurRotZ; 00140 } 00141 return res; 00142 }
Here is the call graph for this function:
|