Definition at line 53 of file Camera3DControlEx.h. References OglGui::OglWindow::GetOGLWND(), mMaxX, mMaxY, mMaxZ, mMinX, mMinY, mMinZ, and mTarget. Referenced by DisplayFunc(). 00054 { 00055 if (!mTarget) 00056 return; 00057 SCENE3D* cam = (SCENE3D*) mTarget->GetOGLWND()->sceneInfo; 00058 if (cam->camX < mMinX) cam->camX = mMinX; 00059 if (cam->camX > mMaxX) cam->camX = mMaxX; 00060 if (cam->camY < mMinY) cam->camY = mMinY; 00061 if (cam->camY > mMaxY) cam->camY = mMaxY; 00062 if (cam->camZ < mMinZ) cam->camZ = mMinZ; 00063 if (cam->camZ > mMaxZ) cam->camZ = mMaxZ; 00064 }
Here is the call graph for this function:
|