We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe334a0 commit 28c2332Copy full SHA for 28c2332
examples/models/architecture/diorama.html
@@ -17,11 +17,9 @@
17
<script type="module">
18
import * as THREE from "three";
19
import { DioramaGeometry } from "../../../src/index.js";
20
- import { createOrbitScene } from "../../utils/orbitScene.js";
+ import { createOrthographicScene } from "../../utils/orthographicScene.js";
21
22
- const { scene, camera, controls } = createOrbitScene();
23
- camera.position.set(5, 5, 5);
24
- controls.target.set(0, 0, 0);
+ const { scene, camera, controls } = createOrthographicScene();
25
26
const dioramaGeometry = new DioramaGeometry(5, 3, 5, 0.2);
27
const material = new THREE.MeshStandardMaterial({ color: 0xaaaaaa, side: THREE.DoubleSide });
0 commit comments