Parcourir la source

no need to pass removed argument

Andrei Kashcha il y a 10 ans
Parent
commit
e3b5fdc13a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/js/utils/GeometryUtils.js

+ 1 - 1
examples/js/utils/GeometryUtils.js

@@ -166,7 +166,7 @@ THREE.GeometryUtils = {
 
 			index = binarySearchIndices( r );
 
-			result[ i ] = THREE.GeometryUtils.randomPointInFace( faces[ index ], geometry, true );
+			result[ i ] = THREE.GeometryUtils.randomPointInFace( faces[ index ], geometry );
 
 			if ( ! stats[ index ] ) {