We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f400ce commit a885152Copy full SHA for a885152
src/rviz/ogre_helpers/point_cloud.cpp
@@ -813,7 +813,7 @@ void PointCloudRenderable::_notifyCurrentCamera(Ogre::Camera* camera)
813
814
Ogre::Real PointCloudRenderable::getBoundingRadius() const
815
{
816
- return Ogre::Math::Sqrt(std::max(mBox.getMaximum().squaredLength(), mBox.getMinimum().squaredLength()));
+ return mBox.getHalfSize().length();
817
}
818
819
Ogre::Real PointCloudRenderable::getSquaredViewDepth(const Ogre::Camera* cam) const
0 commit comments