From d6418c856e6ce6c9b5386c7a2febadcad14e8bdb Mon Sep 17 00:00:00 2001 From: Donovan Hutchence Date: Mon, 16 Sep 2024 11:34:50 +0100 Subject: [PATCH] Fix typo (#6961) --- src/scene/gsplat/gsplat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/gsplat/gsplat.js b/src/scene/gsplat/gsplat.js index 2d8cffb120a..6ead7b0fb17 100644 --- a/src/scene/gsplat/gsplat.js +++ b/src/scene/gsplat/gsplat.js @@ -306,7 +306,7 @@ class GSplat { for (let i = 0; i < gsplatData.numSplats; ++i) { // get coefficients for (let j = 0; j < 45; ++j) { - c[j] = src[0][i]; + c[j] = src[j][i]; } // calculate maximum absolute value