瀏覽代碼

Docs: Fix import in `CameraUtils`. (#26591)

Michael Herzog 1 年之前
父節點
當前提交
eb25afa5a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/examples/en/utils/CameraUtils.html

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

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