Parcourir la source

Cleaned up Box3.

Mr.doob il y a 13 ans
Parent
commit
ef87a12c9a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/math/Box3.js

+ 2 - 2
src/math/Box3.js

@@ -229,9 +229,9 @@ THREE.Box3.prototype = {
 	getBoundingSphere: function ( optionalTarget ) {
 
 		var result = optionalTarget || new THREE.Sphere();
-		
+
 		result.center = this.center();
-		result.radius = this.size( THREE.Box3.__v0 ).length() * 0.5;;
+		result.radius = this.size( THREE.Box3.__v0 ).length() * 0.5;
 
 		return result;
 

粤ICP备19079148号