Question from the Threejs test

Generate a white sphere in the middle of the scene with a radius of 1, consisting of 32 segments in width and 18 segments in height.

Hard

What will the following code generate?

const geometry = new THREE.SphereGeometry( 1, 32, 18 ); 
const material = new THREE.MeshBasicMaterial( { color: 'yellow' } ); 
const sphere = new THREE.Mesh( geometry );
scene.add(sphere);
Author: DamienStatus: PublishedQuestion passed 53 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!