Skip to content

Commit

Permalink
Fix create bvh margin (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
agargaro authored Nov 26, 2024
1 parent f6b6bea commit f39b5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/InstancedMeshBVH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class InstancedMeshBVH {

this.bvh.createFromArray(objects as unknown as number[], boxes, (node) => {
this.nodesMap.set(node.object, node);
});
}, this._margin);
}

public insert(id: number): void {
Expand Down

0 comments on commit f39b5c3

Please sign in to comment.