mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
Adjust model bounding sphere
This commit is contained in:
@@ -532,7 +532,7 @@ void RenderableModel::initializeGL() {
|
||||
|
||||
_geometry->initialize();
|
||||
_geometry->calculateBoundingRadius();
|
||||
setBoundingSphere(glm::sqrt(_geometry->boundingRadius()) * _modelScale);
|
||||
setBoundingSphere(_geometry->boundingRadius() * _modelScale);
|
||||
}
|
||||
|
||||
void RenderableModel::deinitializeGL() {
|
||||
|
||||
Reference in New Issue
Block a user