Skip to content

Commit

Permalink
changes based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Jan 7, 2025
1 parent 2f618af commit 97753d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scene/gsplat/gsplat.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class GSplat {
/** @type {Texture} */
transformBTexture;

/** @type {number} */
/** @type {0 | 1 | 2 | 3} */
shBands;

/** @type {Texture | undefined} */
Expand Down Expand Up @@ -318,7 +318,7 @@ class GSplat {
for (let j = 0; j < numCoeffs; ++j) {
c[j * 3] = src[j][i];
c[j * 3 + 1] = src[j + numCoeffs][i];
c[j * 3 + 2] = src[j + numCoeffs][i];
c[j * 3 + 2] = src[j + numCoeffs * 2][i];
}

// calc maximum value
Expand Down

0 comments on commit 97753d3

Please sign in to comment.