Created
May 24, 2020 00:56
-
-
Save flushpot1125/67858aa97a3a7baca05de5ff80c2e967 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
const renderer = new THREE.WebGLRenderer({ | |
canvas: document.querySelector('#myCanvas') | |
}); | |
controls = new OrbitControls(camera,renderer.domElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment