소스 검색

bad import example in docs (#25813)

* fix import statement in docs (en)

* fix import statement in docs (zh)
makc 2 년 전
부모
커밋
a15bce870e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      docs/examples/en/utils/BufferGeometryUtils.html
  2. 1 1
      docs/examples/zh/utils/BufferGeometryUtils.html

+ 1 - 1
docs/examples/en/utils/BufferGeometryUtils.html

@@ -21,7 +21,7 @@
 		</p>
 
 		<code>
-			import { BufferGeometryUtils } from 'three/addons/utils/BufferGeometryUtils.js';
+			import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js';
 		</code>
 
 		<h2>Methods</h2>

+ 1 - 1
docs/examples/zh/utils/BufferGeometryUtils.html

@@ -21,7 +21,7 @@
 		</p>
 
 		<code>
-			import { BufferGeometryUtils } from 'three/addons/utils/BufferGeometryUtils.js';
+			import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js';
 		</code>
 
 		<h2>方法</h2>