view3d-core 1.1.8 → 1.1.10
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/{SceneConfigPlugin-DDYDHSPw.cjs → SceneConfigPlugin-COseIMiE.cjs} +2 -2
- package/dist/SceneConfigPlugin-COseIMiE.cjs.map +1 -0
- package/dist/{SceneConfigPlugin-B56mqeGd.js → SceneConfigPlugin-CSz42Z4m.js} +2 -2
- package/dist/SceneConfigPlugin-CSz42Z4m.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.js +1 -1
- package/package.json +1 -1
- package/dist/SceneConfigPlugin-B56mqeGd.js.map +0 -1
- package/dist/SceneConfigPlugin-DDYDHSPw.cjs.map +0 -1
|
@@ -4954,7 +4954,7 @@ exports.AnimationPlugin = class extends B {
|
|
|
4954
4954
|
super({ ...Mn, ...e4 }), this.name = "loader", this.fontCache = /* @__PURE__ */ new Map();
|
|
4955
4955
|
}
|
|
4956
4956
|
onInstall() {
|
|
4957
|
-
this.dracoLoader = new s.DRACOLoader(), this.dracoLoader.setDecoderPath(this.config.dracoPath), this.dracoLoader.setDecoderConfig({ type: "js" }), this.dracoLoader.
|
|
4957
|
+
this.dracoLoader = new s.DRACOLoader(), this.dracoLoader.setDecoderPath(this.config.dracoPath), this.dracoLoader.setWorkerLimit(1), this.dracoLoader.setDecoderConfig({ type: "js" }), this.dracoLoader.preload(), this.gltfLoader = new o.GLTFLoader(), this.config.useDraco && this.gltfLoader.setDRACOLoader(this.dracoLoader), this.fbxLoader = new r.FBXLoader(), this.objLoader = new i.OBJLoader(), this.mtlLoader = new a.MTLLoader(), this.textureLoader = new t.TextureLoader(), this.cubeTextureLoader = new t.CubeTextureLoader(), this.fontLoader = new l.FontLoader();
|
|
4958
4958
|
}
|
|
4959
4959
|
onUninstall() {
|
|
4960
4960
|
this.dracoLoader.dispose(), this.fontCache.clear();
|
|
@@ -6178,4 +6178,4 @@ ${n2.fragFunc || ""}`), e5.fragmentShader = e5.fragmentShader.replace("vec4 diff
|
|
|
6178
6178
|
const o2 = No((n2 - e4) / (t2 - e4), 0, 1);
|
|
6179
6179
|
return o2 * o2 * (3 - 2 * o2);
|
|
6180
6180
|
};
|
|
6181
|
-
//# sourceMappingURL=SceneConfigPlugin-
|
|
6181
|
+
//# sourceMappingURL=SceneConfigPlugin-COseIMiE.cjs.map
|