Changeset 138 for osgVisual/src
- Timestamp:
- Oct 18, 2010, 7:01:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r137 r138 264 264 atmosphere->SetRightVector(east.x(), east.y(), east.z()); 265 265 266 osg::Matrixd view = sceneCamera->getViewMatrix();267 266 osg::Matrixd proj = sceneCamera->getProjectionMatrix(); 268 269 double dView[16], dProj[16]; 267 double dProj[16]; 270 268 271 269 int i = 0; … … 274 272 for (int col = 0; col < 4; col++) 275 273 { 276 dView[i] = view(row, col);277 274 dProj[i] = proj(row, col); 278 275 i++; 279 276 } 280 277 } 281 //atmosphere->SetCameraMatrix(dView); 282 //atmosphere->SetProjectionMatrix(dProj); 278 atmosphere->SetProjectionMatrix(dProj); 283 279 } 284 280
Note: See TracChangeset
for help on using the changeset viewer.