Ignore:
Timestamp:
10/12/06 01:05:47 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp

    r1610 r1614  
    115115} 
    116116 
     117void BvhLeaf::CollectObjects(ObjectContainer &objects) 
     118{ 
     119        ObjectContainer::const_iterator oit, oit_end = objects.end(); 
     120        for (oit = objects.begin(); oit != oit_end; ++ oit) 
     121        { 
     122                objects.push_back(*oit); 
     123        } 
     124} 
    117125 
    118126/******************************************************************/ 
     
    161169} 
    162170 
     171 
     172void BvhInterior::CollectObjects(ObjectContainer &objects) 
     173{ 
     174        mFront->CollectObjects(objects); 
     175        mBack->CollectObjects(objects); 
     176} 
    163177 
    164178 
Note: See TracChangeset for help on using the changeset viewer.