mirror of
https://github.com/storytold/spark.git
synced 2026-11-20 17:20:47 +01:00
Copy originToWorld values instead of holding a reference in SplatAccumulator (#191)
This commit is contained in:
1 parent
5eb7dc5a5e
commit
296eaee20c
1 file changed
+1
-1
@@ -97,7 +97,7 @@ export class SplatAccumulator {
|
||||
}
|
||||
|
||||
this.splats.numSplats = numSplats;
|
||||
this.toWorld = originToWorld;
|
||||
this.toWorld.copy(originToWorld);
|
||||
this.mapping = generators;
|
||||
return updated !== 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user