- Timestamp:
- 04/06/06 20:48:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/IMGBBox.cpp
r721 r731 6 6 BBox::BBox() 7 7 { 8 BBox:: StartBoundingBox();8 BBox::initialize(); 9 9 } 10 10 … … 13 13 } 14 14 15 void BBox:: StartBoundingBox()15 void BBox::initialize() 16 16 { 17 17 mMinimum.x = BOUNDINGBOX_MAXVALUE; … … 23 23 } 24 24 25 Ogre::Vector3 BBox:: GetMinimum()25 Ogre::Vector3 BBox::getMinimum() 26 26 { 27 27 return mMinimum; 28 28 } 29 29 30 Ogre::Vector3 BBox:: GetMaximum()30 Ogre::Vector3 BBox::getMaximum() 31 31 { 32 32 return mMaximum; 33 33 } 34 34 35 void BBox:: AddBoundingVector3(float x, float y, float z)35 void BBox::addBoundingVector3(float x, float y, float z) 36 36 { 37 37 if (x < mMinimum.x) … … 66 66 } 67 67 68 void BBox:: Print()68 void BBox::print() 69 69 { 70 70 Ogre::LogManager::getSingleton().logMessage("\nValor de la Caixa: (" + Ogre::StringConverter::toString(mMinimum) + ") - (" + + ") " + Ogre::StringConverter::toString(mMaximum)); 71 71 } 72 72 73 Ogre::Vector3 BBox:: GetCorner(int corner) const73 Ogre::Vector3 BBox::getCorner(int corner) const 74 74 { 75 75 Ogre::Vector3 vector;
Note: See TracChangeset
for help on using the changeset viewer.