提交 fa28e352 编写于 作者: wanhai_wu's avatar wanhai_wu

add

上级 7eb8f52a
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<script type="importmap"> <script type="importmap">
{ {
"imports": { "imports": {
"three": "../build/three.module.js", "three": "./build/three.module.js",
"three/addons/": "./jsm/" "three/addons/": "./jsm/"
} }
} }
...@@ -220,10 +220,8 @@ ...@@ -220,10 +220,8 @@
// const loader = new ColladaLoader( loadingManager ); // const loader = new ColladaLoader( loadingManager );
const loader = new GLTFLoader().setPath( const loader = new GLTFLoader()
"models/gltf/DamagedHelmet/glTF/" loader.load("https://static.preclight.com/rebuild/MRDd60QaKy4Sf8iU_MRDd60QaKy4Sf8iU_miniprog_20230608.glb", function (gltf) {
);
loader.load("123.glb", function (gltf) {
elf = gltf.scene; elf = gltf.scene;
centerObject(elf, "************************"); centerObject(elf, "************************");
scene.add(elf); scene.add(elf);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册