Changeset 2384 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Timestamp:
- 05/16/07 14:29:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBiHierarchy.h
r2349 r2384 118 118 BihPlaneEvent clip(AxisAlignedBox& box, BihPlaneEvent::Dimension dim); 119 119 120 BihPlaneEvent::Type GetType() { return mType;}; 121 122 void ClearGrowBB() 123 { 124 IncBB.setNull(); 125 } 126 127 void GrowBB(AxisAlignedBox bb) 128 { 129 IncBB.merge(bb); 130 } 131 132 AxisAlignedBox GetGrowBB() 133 { 134 return IncBB; 135 } 136 137 138 139 140 120 141 Plane * getSplitPlane() const 121 142 { … … 123 144 normal[mDimension] = 1; 124 145 return new Plane(normal, mPosition); 146 } 147 148 Vector3 getPosition() 149 { 150 return mPosition; 125 151 } 126 152 … … 143 169 BihPlaneEvent::Dimension mDimension; 144 170 BihPlaneEvent::Type mType; 171 AxisAlignedBox IncBB; 145 172 146 173 // ------------------------------------------------------------------------------// … … 399 426 if (showBoxes) 400 427 { 428 /* 401 429 if (mLevel == mOwner->getHiLiteLevel()|| (mLevel-1) == mOwner->getHiLiteLevel() || mOwner->getShowAllBoxes()) 402 430 queue->addRenderable(getWireBoundingBox()); 431 */ 403 432 /* 404 433 if (mLevel == mOwner->getHiLiteLevel() || mOwner->getShowAllBoxes())
Note: See TracChangeset
for help on using the changeset viewer.