瀏覽代碼

Cleaned up Box3.

Mr.doob 12 年之前
父節點
當前提交
ef87a12c9a
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;