📅  最后修改于: 2022-03-11 14:58:04.189000             🧑  作者: Mango
//previous webgl scene
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
const cube = new THREE.Mesh( geometry, material );
scene.add( cube );