Changeset 2843
- Timestamp:
- 07/16/08 17:33:03 (16 years ago)
- 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 19 19 20 20 SceneQuery(const AxisAlignedBox3 &sceneBox, RenderTraverser *traverser); 21 21 22 ~SceneQuery() { DEL_ARRAY_PTR(mDepth); } 22 23 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2840 r2843 460 460 visualization = new Visualization(bvh, camera, NULL, &state); 461 461 462 //sceneQuery = new SceneQuery(bvh->GetBox(), traverser);462 sceneQuery = new SceneQuery(bvh->GetBox(), traverser); 463 463 464 464 … … 1999 1999 Vector3 playerPos = camera->GetPosition(); 2000 2000 2001 bool validIntersect = false;//sceneQuery->CalcIntersection(playerPos);2001 bool validIntersect = sceneQuery->CalcIntersection(playerPos); 2002 2002 2003 2003 if (validIntersect &&
Note: See TracChangeset
for help on using the changeset viewer.