Kaynağa Gözat

Removed computeFaceNormals() references.

Mr.doob 4 yıl önce
ebeveyn
işleme
0e2a67b7c9

+ 0 - 2
examples/webgl_geometry_terrain_raycast.html

@@ -86,8 +86,6 @@
 
 				}
 
-				geometry.computeFaceNormals(); // needed for helper
-
 				//
 
 				texture = new THREE.CanvasTexture( generateTexture( data, worldWidth, worldDepth ) );

+ 0 - 6
test/unit/src/core/BufferGeometry.tests.js

@@ -364,12 +364,6 @@ export default QUnit.module( 'Core', () => {
 
 		} );
 
-		QUnit.todo( "computeFaceNormals", ( assert ) => {
-
-			assert.ok( false, "everything's gonna be alright" );
-
-		} );
-
 		QUnit.test( "computeVertexNormals", ( assert ) => {
 
 			// get normals for a counter clockwise created triangle

+ 0 - 2
test/unit/src/geometries/EdgesGeometry.tests.js

@@ -85,8 +85,6 @@ function createIndexedBufferGeometry( vertList, idxList ) {
 	geom.setIndex( new BufferAttribute( indices, 1 ) );
 	geom.setAttribute( 'position', new BufferAttribute( vertices, 3 ) );
 
-	geom.computeFaceNormals();
-
 	return geom;
 
 }