//...
// 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
//...
view raw block4.js hosted with ❤ by GitHub