Ignore:
Timestamp:
06/22/08 09:33:20 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SceneQuery.cpp

    r2796 r2797  
    3838        if (d > 0.0f) 
    3939        { 
    40                 pt.z =  mSceneBox.Min().z + mSceneBox.Size().z * d; 
     40                pt.z =  mSceneBox.Max().z - mSceneBox.Size().z * d; 
    4141                cout << "new depth " << pt.z << " (" << d << ")" << endl; 
    4242 
     
    6464        orthoCam->SetPosition(pos); 
    6565 
    66         glPixelStorei(GL_PACK_ROW_LENGTH, viewport[2]); 
     66        //glPixelStorei(GL_PACK_ROW_LENGTH, viewport[2]); 
    6767 
    6868        // hack: should create offscreen buffer for this 
Note: See TracChangeset for help on using the changeset viewer.