ThreeJS兩個點作爲起始座標畫一個立方體

drawLineBox(new THREE.Vector3(100, 50, 0), new THREE.Vector3(200, 100, 100)); function drawLineBox(start, end) {   //開始點用cube標出來方便觀察 geometry = new THREE.CubeGeometry(10, 10, 10); material = new THREE
相關文章
相關標籤/搜索