Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
238d71e31e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/mathutil/boundingSphere.cxx

+ 1 - 0
panda/src/mathutil/boundingSphere.cxx

@@ -210,6 +210,7 @@ around_points(const LPoint3f *first, const LPoint3f *last) {
     // Only one point; we have a radius of zero.  This is not the same
     // thing as an empty sphere, because our volume contains one
     // point; an empty sphere contains no points.
+    _center = min_box;
     _radius = 0.0;
 
   } else {