camera up
This commit is contained in:
parent
18f6aff1d2
commit
1abe7ef998
2
app.js
2
app.js
@ -810,7 +810,7 @@ renderer.setSize(window.innerWidth, window.innerHeight)
|
|||||||
document.body.appendChild(renderer.domElement)
|
document.body.appendChild(renderer.domElement)
|
||||||
|
|
||||||
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 400)
|
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 400)
|
||||||
camera.position.set(5, 1, 16)
|
camera.position.set(5, 3, 17)
|
||||||
|
|
||||||
const controls = new OrbitControls( camera, renderer.domElement );
|
const controls = new OrbitControls( camera, renderer.domElement );
|
||||||
controls.autoRotate;
|
controls.autoRotate;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user