From d4ca2687cd109480bfa79332e101796d95b5f35e Mon Sep 17 00:00:00 2001 From: georges <> Date: Fri, 16 Feb 2001 00:30:47 +0000 Subject: [PATCH] stop me before I make another ridiculous micro-optimization --- panda/src/mathutil/boundingSphere.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/mathutil/boundingSphere.cxx b/panda/src/mathutil/boundingSphere.cxx index 6f505cd058..dde7600d84 100644 --- a/panda/src/mathutil/boundingSphere.cxx +++ b/panda/src/mathutil/boundingSphere.cxx @@ -312,7 +312,7 @@ around_finite(const BoundingVolume **first, } // Now take the center of the bounding box as the center of the sphere. - _center = (min_box + max_box) / 2.0; + _center = (min_box + max_box) * 0.5; if (any_unknown) { // If we have any volumes in the list that we don't know what to