Skip to content

Commit 296eaee

Browse files
authored
Copy originToWorld values instead of holding a reference in SplatAccumulator (#191)
1 parent 5eb7dc5 commit 296eaee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SplatAccumulator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class SplatAccumulator {
9797
}
9898

9999
this.splats.numSplats = numSplats;
100-
this.toWorld = originToWorld;
100+
this.toWorld.copy(originToWorld);
101101
this.mapping = generators;
102102
return updated !== 0;
103103
}

0 commit comments

Comments
 (0)