diff --git a/packages/dev/core/src/Meshes/GaussianSplatting/gaussianSplattingMesh.ts b/packages/dev/core/src/Meshes/GaussianSplatting/gaussianSplattingMesh.ts index 43ab8a983b9..9e2fc41a75f 100644 --- a/packages/dev/core/src/Meshes/GaussianSplatting/gaussianSplattingMesh.ts +++ b/packages/dev/core/src/Meshes/GaussianSplatting/gaussianSplattingMesh.ts @@ -1178,6 +1178,15 @@ export class GaussianSplattingMesh extends Mesh { runCoroutineSync(this._updateData(data, false, sh)); } + /** + * Refreshes the bounding info, taking into account all the thin instances defined + * @returns the current Gaussian Splatting + */ + public override refreshBoundingInfo(): Mesh { + this.thinInstanceRefreshBoundingInfo(false); + return this; + } + // in case size is different private _updateSplatIndexBuffer(vertexCount: number): void { if (!this._splatIndex || vertexCount > this._splatIndex.length) {