//...
return {
render({ time }) {
mercuryMesh.rotation.y = time * 0.20; // add this line
controls.update();
renderer.render(scene, camera);
},
//...
view raw block6.js hosted with ❤ by GitHub