Skip to content

Commit

Permalink
Removed computeFaceNormals() references.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 19, 2021
1 parent fe50e33 commit 0e2a67b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions examples/webgl_geometry_terrain_raycast.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@

}

geometry.computeFaceNormals(); // needed for helper

//

texture = new THREE.CanvasTexture( generateTexture( data, worldWidth, worldDepth ) );
Expand Down
6 changes: 0 additions & 6 deletions test/unit/src/core/BufferGeometry.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions test/unit/src/geometries/EdgesGeometry.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand Down

0 comments on commit 0e2a67b

Please sign in to comment.