Definition at line 401 of file VidolviWindow.h. References OglGui::View::GetOGLVIEW3D(), Impala::Application::Videolympics::PhysicsEngine::IsFlushing(), mBackPlane, mBackX, mBackY, mBackZ, and phys. Referenced by DisplayFunc(). 00402 { 00403 if (!mBackPlane) return; 00404 if (phys->IsFlushing()) return; 00405 float x,y,z; 00406 view3DSys.GetDimensions(mBackPlane->GetOGLVIEW3D(), &x, &y, &z, NULL, NULL, NULL); 00407 x += (mBackX - x) * 0.02; 00408 y += (mBackY - y) * 0.02; 00409 z += (mBackZ - z) * 0.02; 00410 view3DSys.SetDimensions(mBackPlane->GetOGLVIEW3D(), x,y,z,FRETAIN,FRETAIN,FRETAIN); 00411 }
Here is the call graph for this function:
|