Skip to content

Instantly share code, notes, and snippets.

@patkap1994
Created May 19, 2022 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patkap1994/6ec30eb2fbbbac52932ac0e840aeaf40 to your computer and use it in GitHub Desktop.
Save patkap1994/6ec30eb2fbbbac52932ac0e840aeaf40 to your computer and use it in GitHub Desktop.
const aspect = window.innerWidth / window.innerHeight
const camera = new THREE.PerspectiveCamera(75, aspect, 0.1, 100)
scene.add(camera)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment