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.

Medium

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 76 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!