Explorar o código

Merge branch 'comments' of https://github.com/jahting/three.js into dev

Mr.doob %!s(int64=12) %!d(string=hai) anos
pai
achega
c116ef66b4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/core/BufferGeometry.js

+ 3 - 0
src/core/BufferGeometry.js

@@ -181,6 +181,9 @@ THREE.BufferGeometry.prototype = {
 
 				box.center( center );
 
+				// hoping to find a boundingSphere with a radius smaller than the
+				//  boundingSphere of the boundingBox:  sqrt(3) smaller in the best case
+
 				var maxRadiusSq = 0;
 
 				for ( var i = 0, il = positions.length; i < il; i += 3 ) {

粤ICP备19079148号