Browse Source

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

Mr.doob 10 years ago
parent
commit
0b625f7c63
1 changed files with 1 additions and 1 deletions
  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 ) {
 THREE.EdgesHelper = function ( object, hex, thresholdAngle ) {
 
 
 	var color = ( hex !== undefined ) ? hex : 0xffffff;
 	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 ) );
 	var thresholdDot = Math.cos( THREE.Math.degToRad( thresholdAngle ) );