I am trying to create half of an extruded circle using this code, but it only draws a cube. How can I modify it to achieve the desired shape?
// Drawing half of an extruded circle
var rightfootgeo = new THREE.CubeGeometry(2, 2, 2);
for(var i = 0; i < 8; i += 1) {
rightfootgeo.vertices[i].y -= 5;
}