Exemplo n.º 1
0
 BoundingSphere<real> getOgreLocalBoundingSphere() const {
     return mOgreObject
         ? fromOgre<real>(Ogre::Sphere( mOgreObject->getBoundingBox().getCenter(), mOgreObject->getBoundingRadius()))
         : BoundingSphere<real>::null();
 }
Exemplo n.º 2
0
 BoundingBox<real> getOgreLocalBoundingBox() const {
     return mOgreObject ? fromOgre<real>(mOgreObject->getBoundingBox()) : BoundingBox<real>::null();
 }