Changeset 2385 for GTP/trunk/Lib
- Timestamp:
- 05/16/07 14:30:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBihRenderable.h
r2349 r2385 21 21 { 22 22 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 }; 24 27 virtual ~BihRenderable() 25 28 { … … 48 51 { 49 52 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; 50 62 }; 51 63 … … 122 134 // Flag for the SAH which marks if this renderable was already placed in the list after a split 123 135 bool mClassified; 136 137 bool mDecided[3]; 124 138 }; // class BihRenderable 125 139
Note: See TracChangeset
for help on using the changeset viewer.