Remove use of depreciated THREE.CubeGeometry