fix:光子大屏中引入congfig

This commit is contained in:
shijing 2024-05-09 16:26:40 +08:00
parent fb67075e19
commit 1ba5401b05
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ import * as BABYLON from "babylonjs";
import * as BABYLON_GUI from "babylonjs-gui";
import * as BABYLON_GRID from "@/utils/gridMaterial";
import * as BABYLON_MATERIAL from "@/utils/babylonMaterial";
import config from "@/config";
BABYLON.DracoCompression.Configuration.decoder.wasmUrl =
"./draco_wasm_wrapper_gltf.js";
BABYLON.DracoCompression.Configuration.decoder.wasmBinaryUrl =