Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created May 24, 2020 00:56
Show Gist options
  • Save flushpot1125/67858aa97a3a7baca05de5ff80c2e967 to your computer and use it in GitHub Desktop.
Save flushpot1125/67858aa97a3a7baca05de5ff80c2e967 to your computer and use it in GitHub Desktop.
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