Ignore:
Timestamp:
Oct 18, 2010, 7:01:59 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp

    r137 r138  
    264264    atmosphere->SetRightVector(east.x(), east.y(), east.z());
    265265
    266     osg::Matrixd view = sceneCamera->getViewMatrix();
    267266    osg::Matrixd proj = sceneCamera->getProjectionMatrix();
    268 
    269     double dView[16], dProj[16];
     267    double dProj[16];
    270268
    271269    int i = 0;
     
    274272        for (int col = 0; col < 4; col++)
    275273        {
    276             dView[i] = view(row, col);
    277274            dProj[i] = proj(row, col);
    278275            i++;
    279276        }
    280277    }
    281         //atmosphere->SetCameraMatrix(dView);
    282     //atmosphere->SetProjectionMatrix(dProj);
     278    atmosphere->SetProjectionMatrix(dProj);
    283279}
    284280
Note: See TracChangeset for help on using the changeset viewer.