فهرست منبع

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