瀏覽代碼

EdgesHelper: Setting default threshold to 1. See #6125.

Mr.doob 10 年之前
父節點
當前提交
0b625f7c63
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extras/helpers/EdgesHelper.js

+ 1 - 1
src/extras/helpers/EdgesHelper.js

@@ -11,7 +11,7 @@
 THREE.EdgesHelper = function ( object, hex, thresholdAngle ) {
 
 	var color = ( hex !== undefined ) ? hex : 0xffffff;
-	thresholdAngle = ( thresholdAngle !== undefined ) ? thresholdAngle : 0.1;
+	thresholdAngle = ( thresholdAngle !== undefined ) ? thresholdAngle : 1;
 
 	var thresholdDot = Math.cos( THREE.Math.degToRad( thresholdAngle ) );