📜  webgl 多维数据集示例 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:04.189000             🧑  作者: Mango

代码示例1
//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 );