mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Copy originToWorld values instead of holding a reference in SplatAccumulator (#191)
This commit is contained in:
@@ -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