diff --git a/src/scene/gsplat/gsplat.js b/src/scene/gsplat/gsplat.js index 6ead7b0fb17..0ff2ffe3f59 100644 --- a/src/scene/gsplat/gsplat.js +++ b/src/scene/gsplat/gsplat.js @@ -11,6 +11,12 @@ import { Texture } from '../../platform/graphics/texture.js'; import { BoundingBox } from '../../core/shape/bounding-box.js'; import { createGSplatMaterial } from './gsplat-material.js'; +/** + * @import { GSplatData } from './gsplat-data.js' + * @import { GraphicsDevice } from '../../platform/graphics/graphics-device.js' + * @import { Material } from '../materials/material.js' + */ + const getSHData = (gsplatData) => { const result = []; for (let i = 0; i < 45; ++i) {