Skip to content

Commit

Permalink
Fix unnecessary args
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Aug 19, 2023
1 parent 0147140 commit 454534d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/cast/raycastFirst.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { intersectRay } from '../utils/intersectUtils.js';

const _boxIntersection = /* @__PURE__ */ new Vector3();
const _xyzFields = [ 'x', 'y', 'z' ];
export function raycastFirst( bvh, root, side, ray, intersects ) {
export function raycastFirst( bvh, root, side, ray ) {

BufferStack.setBuffer( bvh._roots[ root ] );
const result = _raycastFirst( 0, bvh.geometry, side, ray, intersects );
const result = _raycastFirst( 0, bvh.geometry, side, ray );
BufferStack.clearBuffer();

return result;
Expand Down

0 comments on commit 454534d

Please sign in to comment.