- Timestamp:
- Oct 16, 2013, 8:02:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
projectionDesigner/trunk/projdesigner/src/gui/QDesignViewWidget.cpp
r4 r433 71 71 { 72 72 glPushMatrix(); 73 glMultMatrixf(invert(m_pModel->getScene()->getCameraMatrix()).getData()); 73 74 // 75 // Sigh: Too clever. Split this line in two. [ben 27Sep13] 76 // glMultMatrixf(invert(m_pModel->getScene()->getCameraMatrix()).getData()); 77 // 78 gmtl::Matrix<float, 4u, 4u> a = m_pModel->getScene()->getCameraMatrix(); 79 glMultMatrixf(invert(a).getData()); 80 81 74 82 m_pModel->getScene()->draw(); 75 83 glPopMatrix(); … … 181 189 setView(Vec3f(), Quatf(), 0.0f); 182 190 break; 191 // 192 // Handle Missing Cases. Not sure. Maybe do nothing, or do FRONT mode? 193 // [ben 27Sep13] 194 // 195 case DESIGN_VIEWMODE_PERSPECTIVE: 196 case DESIGN_VIEWMODE_CENTER: 197 default: 198 // setView(Vec3f(), Quatf(), 0.0f); 199 break;; 183 200 } 184 201 setPerspective(false);
Note: See TracChangeset
for help on using the changeset viewer.