Ignore:
Timestamp:
07/21/08 03:12:51 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2842 r2848  
    144144        mGeometry = new SceneEntity*[mGeometrySize]; 
    145145 
    146         mBox.Initialize(); 
    147  
    148146        SceneEntityContainer::const_iterator it, it_end = entities.end(); 
    149147 
     
    152150        { 
    153151                mGeometry[i] = (*it); 
    154                 //mBox.Include((*it)->GetBoundingBox()); 
    155         } 
    156  
    157         cout << "scene box: " << mBox << endl; 
     152        } 
    158153} 
    159154 
     
    799794        for (int i = node->mFirst; i <= node->mLast; ++ i) 
    800795        { 
    801                 numTriangles += mGeometry[i]->CountNumTriangles(); 
     796                numTriangles += mGeometry[i]->CountNumTriangles(0); 
    802797        } 
    803798 
Note: See TracChangeset for help on using the changeset viewer.