Skip to content

Instantly share code, notes, and snippets.

@marshallmurphy
Created July 28, 2020 23:42
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 marshallmurphy/a851da288d877dea3b2ddce582702b5a to your computer and use it in GitHub Desktop.
Save marshallmurphy/a851da288d877dea3b2ddce582702b5a to your computer and use it in GitHub Desktop.
//...
// 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