Marco Bellan před 8 roky
rodič
revize
cb7984e18f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Source/BansheeUtility/Source/BsAABox.cpp

+ 1 - 1
Source/BansheeUtility/Source/BsAABox.cpp

@@ -458,7 +458,7 @@ namespace bs
 
 
 	float AABox::getRadius() const
 	float AABox::getRadius() const
 	{
 	{
-		return ((mMaximum + mMinimum) * 0.5).length();
+		return ((mMaximum - mMinimum) * 0.5).length();
 	}
 	}
 
 
 	float AABox::getVolume() const
 	float AABox::getVolume() const