Changeset 2843


Ignore:
Timestamp:
07/16/08 17:33:03 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling/src
Files:
2 edited

Legend:

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

    r2808 r2843  
    1919 
    2020        SceneQuery(const AxisAlignedBox3 &sceneBox, RenderTraverser *traverser); 
     21 
    2122        ~SceneQuery() { DEL_ARRAY_PTR(mDepth); } 
    2223 
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r2840 r2843  
    460460        visualization = new Visualization(bvh, camera, NULL, &state); 
    461461 
    462         //sceneQuery = new SceneQuery(bvh->GetBox(), traverser); 
     462        sceneQuery = new SceneQuery(bvh->GetBox(), traverser); 
    463463 
    464464 
     
    19991999        Vector3 playerPos = camera->GetPosition(); 
    20002000 
    2001         bool validIntersect = false;//sceneQuery->CalcIntersection(playerPos); 
     2001        bool validIntersect = sceneQuery->CalcIntersection(playerPos); 
    20022002 
    20032003        if (validIntersect && 
Note: See TracChangeset for help on using the changeset viewer.