Created
July 28, 2020 23:42
-
-
Save marshallmurphy/a851da288d877dea3b2ddce582702b5a 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
//... | |
// SCENE | |
const scene = new THREE.Scene(); | |
// MESHES | |
const geometry = new THREE.SphereGeometry(1, 32, 16); | |
const mercuryMesh = new THREE.Mesh(geometry); | |
mercuryMesh.position.set(25, 0, 0); | |
mercuryMesh.scale.setScalar(0.8); | |
scene.add(mercuryMesh); | |
// LIGHTING | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment