Changeset 2385


Ignore:
Timestamp:
05/16/07 14:30:03 (17 years ago)
Author:
vizrt_christian_seidl
Message:

Added some members for BIH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBihRenderable.h

    r2349 r2385  
    2121        { 
    2222        public: 
    23                 BihRenderable():mSide(BihPlaneEvent::PES_BOTH), mClassified(false), mLastQueued(0), mBiHierarchy(0) {}; 
     23                BihRenderable():mSide(BihPlaneEvent::PES_BOTH), mClassified(false), mLastQueued(0), mBiHierarchy(0)  
     24                {  
     25                        setDecided(0,false); setDecided(1,false); setDecided(2,false);  
     26            }; 
    2427                virtual ~BihRenderable() 
    2528                { 
     
    4851                { 
    4952                        mClassified = q; 
     53                }; 
     54 
     55                inline  isDecided(int w) 
     56                { 
     57                        return mDecided[w]; 
     58                }; 
     59                inline void setDecided(int w,bool b) 
     60                { 
     61                        mDecided[w] = b; 
    5062                }; 
    5163 
     
    122134                // Flag for the SAH which marks if this renderable was already placed in the list after a split 
    123135                bool mClassified; 
     136 
     137                bool mDecided[3]; 
    124138        }; // class BihRenderable 
    125139 
Note: See TracChangeset for help on using the changeset viewer.