@idetik/core 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -8659,18 +8659,18 @@ class Yo {
|
|
|
8659
8659
|
return;
|
|
8660
8660
|
}
|
|
8661
8661
|
this.currentLOD_ = this.policy_.lod.min, this.chunkViewStates_.forEach(mg);
|
|
8662
|
-
const E = this.channelsOfInterest(A), i = this.fallbackLOD(), o = (s
|
|
8663
|
-
const a = this.computePriority(
|
|
8662
|
+
const E = this.channelsOfInterest(A), i = this.fallbackLOD(), o = (s) => {
|
|
8663
|
+
const t = s.lod === i, a = s.lod === this.currentLOD_, r = this.computePriority(
|
|
8664
8664
|
t,
|
|
8665
|
-
|
|
8665
|
+
a,
|
|
8666
8666
|
!0,
|
|
8667
8667
|
!1,
|
|
8668
8668
|
!0
|
|
8669
8669
|
);
|
|
8670
|
-
|
|
8670
|
+
r !== null && this.chunkViewStates_.set(s, {
|
|
8671
8671
|
visible: !0,
|
|
8672
8672
|
prefetch: !1,
|
|
8673
|
-
priority:
|
|
8673
|
+
priority: r,
|
|
8674
8674
|
orderKey: 0
|
|
8675
8675
|
});
|
|
8676
8676
|
};
|
|
@@ -8678,12 +8678,12 @@ class Yo {
|
|
|
8678
8678
|
Q,
|
|
8679
8679
|
this.currentLOD_,
|
|
8680
8680
|
E,
|
|
8681
|
-
|
|
8681
|
+
o
|
|
8682
8682
|
), this.currentLOD_ !== i && this.iterateAllChunksAtLod(
|
|
8683
8683
|
Q,
|
|
8684
8684
|
i,
|
|
8685
8685
|
E,
|
|
8686
|
-
|
|
8686
|
+
o
|
|
8687
8687
|
), this.markTimeChunksForPrefetchVolume(Q, A), this.policyChanged_ = !1, this.lastTCoord_ = A.t, this.lastCCoords_ = A.c ? [...A.c] : void 0, this.lastViewProjection_ = g;
|
|
8688
8688
|
}
|
|
8689
8689
|
allVisibleFallbackLODLoaded() {
|