Ignore:
Timestamp:
01/13/09 16:40:27 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r3273 r3274  
    2222        int buffer[4]; 
    2323 
    24         if (node->IsLeaf())  
     24        if (node->IsVirtualLeaf())  
    2525        { 
    2626                BvhLeaf *leaf = (BvhLeaf*)node; 
     
    5555                                                                                        int &last) 
    5656{ 
    57         if (!node->IsLeaf()) 
     57        if (!node->IsVirtualLeaf()) 
    5858        { 
    5959                int m; 
     
    9494         buffer[3] = 0; // construction method 
    9595         buffer[4] = 1; // termination leaves 
    96          buffer[5] = bvh->CountNumNodes(bvh->GetStaticRoot()); 
     96         buffer[5] = bvh->CountNumVirtualNodes(bvh->GetStaticRoot()); 
    9797 
    9898         int first = 0, last; 
Note: See TracChangeset for help on using the changeset viewer.