Skip to content

Commit

Permalink
[fix] bvh doesn't recompute every rerender
Browse files Browse the repository at this point in the history
  • Loading branch information
krispya committed Nov 14, 2023
1 parent 6591c01 commit 3847cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/useBVH.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Bvh: ForwardRefComponent<BvhProps, Group> = /* @__PURE__ */ React.f
})
}
}
})
}, [])

return (
<group ref={ref} {...props}>
Expand Down

0 comments on commit 3847cc0

Please sign in to comment.