Changeset 1004 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 06/07/06 18:38:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r1002 r1004 86 86 mFrame = 0; 87 87 mWireFrame = false; 88 environment->GetBoolValue("Preprocessor.detectEmptyViewSpace", mDetectEmptyViewSpace);88 Environment::GetSingleton()->GetBoolValue("Preprocessor.detectEmptyViewSpace", mDetectEmptyViewSpace); 89 89 mSnapErrorFrames = true; 90 90 mSnapPrefix = "snap/"; … … 775 775 QGLPixelBuffer(QSize(w, h)), GlRenderer(sceneGraph, viewcells, tree) { 776 776 777 environment->GetIntValue("Preprocessor.pvsRenderErrorSamples", mPvsStatFrames);777 Environment::GetSingleton()->GetIntValue("Preprocessor.pvsRenderErrorSamples", mPvsStatFrames); 778 778 mPvsErrorBuffer.resize(mPvsStatFrames); 779 779 ClearErrorBuffer(); … … 939 939 940 940 void 941 GlRendererWidget::SetupProjection(const int w, const int h )941 GlRendererWidget::SetupProjection(const int w, const int h, const float angle) 942 942 { 943 943 if (!mTopView) 944 GlRenderer::SetupProjection(w, h );944 GlRenderer::SetupProjection(w, h, angle); 945 945 else { 946 946 glViewport(0, 0, w, h);
Note: See TracChangeset
for help on using the changeset viewer.