使用Geometry 避免使用BufferGeometry而无法选中对象

pull/653835/MERGE
ChenX 7 years ago
parent d02bf6885c
commit 97ff8d0abc

@ -56,7 +56,7 @@ export class DrawFloor implements Command
});
this.materialList.push(floorMat);
var floorGeometry = new THREE.PlaneBufferGeometry(20, 20);
var floorGeometry = new THREE.PlaneGeometry(20, 20);
var floorMesh = new THREE.Mesh(floorGeometry, floorMat);
floorMesh.receiveShadow = true;
this.scene.add(floorMesh);

Loading…
Cancel
Save