소스 검색

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 ) );