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