Changeset 86 for trunk/VUT/chcdemo
- Timestamp:
- 05/06/05 01:39:32 (20 years ago)
- Location:
- trunk/VUT/chcdemo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/chcdemo/HierarchyNode.h
r10 r86 34 34 35 35 /** This class represents a node in a k-d tree hierarchy. A 36 node has two children. The node can be either an interior node (i.e., left and right child37 NULL) or a leaf node, which holds the actual geometry.36 node has two children. The node can be either an interior node (i.e., left and right child 37 NULL) or a leaf node, which holds the actual geometry. 38 38 */ 39 39 -
trunk/VUT/chcdemo/RenderTraverser.cpp
r43 r86 56 56 57 57 /** 58 This is the standard render traversal algorithm doing only frustum culling58 This is the standard render traversal algorithm doing only frustum culling 59 59 */ 60 60 void RenderTraverser::RenderCullFrustum() … … 144 144 { 145 145 while(!queryQueue.empty() && 146 (ResultAvailable(queryQueue.front()) || 146 (ResultAvailable(queryQueue.front()) || mDistanceQueue.empty())) 147 147 { 148 148 HierarchyNode *node = queryQueue.front(); … … 327 327 } 328 328 329 void RenderTraverser::IssueOcclusionQuery(HierarchyNode *node, bool wasVisible)329 void RenderTraverser::IssueOcclusionQuery(HierarchyNode *node, const bool wasVisible) 330 330 { 331 331 // get next available test id
Note: See TracChangeset
for help on using the changeset viewer.