Skip to content

Commit

Permalink
Docs: Fixed import error (mrdoob#27372)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan authored and AdaRoseCannon committed Jan 15, 2024
1 parent dccbd4b commit b590ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/en/utils/SceneUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>Import</h2>
</p>

<code>
import { SceneUtils } from 'three/addons/utils/SceneUtils.js';
import * as SceneUtils from 'three/addons/utils/SceneUtils.js';
</code>

<h2>Methods</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/zh/utils/SceneUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>进口</h2>
</p>

<code>
import { SceneUtils } from 'three/addons/utils/SceneUtils.js';
import * as SceneUtils from 'three/addons/utils/SceneUtils.js';
</code>

<h2>方法</h2>
Expand Down

0 comments on commit b590ace

Please sign in to comment.