提交 fe106d52 编写于 作者: M Mr.doob

Merge pull request #19767 from parke/patch-1

Docs: Added .js extension to path of GLTFLoader.
上级 d58b945a
......@@ -85,7 +85,7 @@
</p>
<code>
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
</code>
<p>
......@@ -95,7 +95,7 @@
</p>
<code>
var loader = new THREE.GLTFLoader();
var loader = new GLTFLoader();
loader.load( 'path/to/model.glb', function ( gltf ) {
......
......@@ -75,7 +75,7 @@
</p>
<code>
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
</code>
<p>
......@@ -84,7 +84,7 @@
</p>
<code>
var loader = new THREE.GLTFLoader();
var loader = new GLTFLoader();
loader.load( 'path/to/model.glb', function ( gltf ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册