const geometry = new THREE.BoxGometry(1,1,1);
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );

const cube = new THREE.Mesh( geometry, material );

scene.add( cube );

도형 회전시ㅣ기

cube.rotation.x += 0.01;
cube.rotation.y += 0.01;