Currently, I am working with a cube geometry and a mesh in my project. However, I am facing a challenge figuring out how to obtain the width of the cube. Below is the snippet of code that I am struggling with:
geometry = new THREE.CubeGeometry( 200, 200, 200 );
material = new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } );
mesh = new THREE.Mesh( geometry, material );