Created
July 28, 2020 23:50
-
-
Save marshallmurphy/52f506a8850706bc145bdd6a7e663d00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CAMERA | |
const camera = new THREE.PerspectiveCamera(100, SCREEN_WIDTH / SCREEN_HEIGHT, 1, 1000); | |
camera.position.set(30, 5, 35); | |
// ORBIT CONTROLS | |
const controls = new THREE.OrbitControls(camera, context.canvas); | |
controls.target.set(30, 0, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment