Skip to content

Commit

Permalink
Merge pull request #15239 from Joe-Kerr/master
Browse files Browse the repository at this point in the history
documenting side-effect in gpuPicker.
  • Loading branch information
sebavan authored Jul 1, 2024
2 parents d0c5b8c + 034489e commit 5ba3edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dev/core/src/Collisions/gpuPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class GPUPicker {
/**
* Set the list of meshes to pick from
* Set that value to null to clear the list (and avoid leaks)
* The module will read and delete from the array provided by reference. Disposing the module or setting the value to null will clear the array.
* @param list defines the list of meshes to pick from
*/
public setPickingList(list: Nullable<Array<AbstractMesh>>) {
Expand Down

0 comments on commit 5ba3edc

Please sign in to comment.