Parcourir la source

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

Mr.doob il y a 10 ans
Parent
commit
0b625f7c63
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 ) );