I want to have two cube that are same size, but somehow they are not same size some example from my code
The newCube/extraCube is bigger than the main cube, but i just can’t understand why or how
code:
const cubeGeometry = new THREE.BoxGeometry(10, 10, 10);
const mainCubeMaterial = new THREE.MeshBasicMaterial({ color: 0x00ff00 });
const extraCubeMaterial = new THREE.MeshBasicMaterial({ color: 0xFF69B4 });
const cube = new THREE.Mesh(cubeGeometry, mainCubeMaterial);
const newCube = new THREE.Mesh(cubeGeometry, extraCubeMaterial);