Bump dist build

This commit is contained in:
sparkjsdev[bot]
2025-09-15 21:48:23 +00:00
parent 3e9ee5f505
commit 3daecd37c7
9 changed files with 78 additions and 42 deletions
+17 -10
View File
@@ -8598,7 +8598,11 @@ const oA = class oA extends I.Mesh {
depthWrite: !1,
side: I.DoubleSide
});
super(ws, i), this.splatTexture = null, this.autoViewpoints = [], this.rotateToAccumulator = new Tt({ value: new I.Quaternion() }), this.translateToAccumulator = new Ft({ value: new I.Vector3() }), this.lastFrame = -1, this.lastUpdateTime = null, this.defaultCameras = [], this.lastStochastic = null, this.pendingUpdate = null, this.envViewpoint = null, this.frustumCulled = !1, this.renderer = A.renderer, this.material = i, this.uniforms = e;
super(ws, i), this.splatTexture = null, this.autoViewpoints = [], this.rotateToAccumulator = new Tt({ value: new I.Quaternion() }), this.translateToAccumulator = new Ft({ value: new I.Vector3() }), this.lastFrame = -1, this.lastUpdateTime = null, this.defaultCameras = [], this.lastStochastic = null, this.pendingUpdate = {
scene: null,
originToWorld: new I.Matrix4(),
timeoutId: -1
}, this.envViewpoint = null, this.frustumCulled = !1, this.renderer = A.renderer, this.material = i, this.uniforms = e;
const r = vA(
{ gsplat: AA },
{ gsplat: AA },
@@ -8776,16 +8780,19 @@ const oA = class oA extends I.Mesh {
scene: A,
viewToWorld: e
}) {
const s = this.matrixWorld.clone();
this.preUpdate ? this.updateInternal({ scene: A, originToWorld: s, viewToWorld: e }) : (this.pendingUpdate = {
const s = this.matrixWorld;
this.preUpdate ? this.updateInternal({
scene: A,
originToWorld: s
}, setTimeout(() => {
if (this.pendingUpdate) {
const { scene: n, originToWorld: i } = this.pendingUpdate;
this.pendingUpdate = null, this.updateInternal({ scene: n, originToWorld: i, viewToWorld: e });
}
}, 1));
originToWorld: s.clone(),
viewToWorld: e
}) : (this.pendingUpdate.scene = A, this.pendingUpdate.originToWorld.copy(s), this.pendingUpdate.timeoutId === -1 && (this.pendingUpdate.timeoutId = setTimeout(() => {
const { scene: n, originToWorld: i } = this.pendingUpdate;
this.pendingUpdate.scene = null, this.pendingUpdate.timeoutId = -1, this.updateInternal({
scene: n,
originToWorld: i,
viewToWorld: e
}) && this.renderer.getContext().flush();
}, 1)));
}
updateInternal({
scene: A,