Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Oct 15, 2022
1 parent d4862c0 commit 9e61e85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/MeshBVH.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
TorusGeometry,
BufferAttribute,
Vector3,
Geometry
Geometry,
} from 'three';
import {
MeshBVH,
Expand All @@ -21,7 +21,6 @@ import {
validateBounds,
} from '../src/index.js';

console.log(Geometry, BufferGeometry)
Mesh.prototype.raycast = acceleratedRaycast;
BufferGeometry.prototype.computeBoundsTree = computeBoundsTree;
BufferGeometry.prototype.disposeBoundsTree = disposeBoundsTree;
Expand Down
4 changes: 2 additions & 2 deletions test/VertexAttributeTexture.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe( 'FloatVertexAttributeTexture', () => {
const tex = new FloatVertexAttributeTexture();
tex.updateFrom( ba );

expect( tex.source.data.data ).toEqual( new Uint8Array( [ 255, 255, 255, 255 ] ));
expect( tex.source.data.data ).toEqual( new Uint8Array( [ 255, 255, 255, 255 ] ) );

} );

Expand All @@ -41,7 +41,7 @@ describe( 'FloatVertexAttributeTexture', () => {
const tex = new FloatVertexAttributeTexture();
tex.updateFrom( ba );

expect( tex.source.data.data ).toEqual( new Int8Array( [ - 127, - 127, - 127, - 127 ] ));
expect( tex.source.data.data ).toEqual( new Int8Array( [ - 127, - 127, - 127, - 127 ] ) );

} );

Expand Down

0 comments on commit 9e61e85

Please sign in to comment.