Ignore:
Timestamp:
02/15/07 13:19:17 (17 years ago)
Author:
mattausch
Message:

implemented bit pvs (warnin: only worjs for preprocessing)

File:
1 edited

Legend:

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

    r2094 r2117  
    18771877        while (pit.HasMoreEntries()) 
    18781878        { 
    1879                 const ObjectPvsEntry &entry = pit.Next(); 
    1880  
    1881                 if (entry.mObject->Type() != Intersectable::BVH_INTERSECTABLE) 
    1882                         cout << "error " << entry.mObject->Type() << endl; 
    1883  
    1884                 BvhNode *intersect = static_cast<BvhNode *>(entry.mObject); 
     1879                Intersectable *obj = pit.Next(); 
     1880 
     1881                if (obj->Type() != Intersectable::BVH_INTERSECTABLE) 
     1882                        cout << "error " << obj->Type() << endl; 
     1883 
     1884                BvhNode *intersect = static_cast<BvhNode *>(obj); 
    18851885                BvhNode *activeNode; 
    18861886 
     
    19371937                        while (pit.HasMoreEntries()) 
    19381938                        {                
    1939                                 const ObjectPvsEntry &entry = pit.Next(); 
    1940  
    1941                                 Intersectable *object = entry.mObject; 
     1939                                Intersectable *object = pit.Next(); 
     1940 
    19421941                                if (!object->Mailed()) 
    19431942                                { 
Note: See TracChangeset for help on using the changeset viewer.