更新代码 以支持图形能被选择

pull/7/head
ChenX 7 years ago
parent 31cb9c83df
commit c7c9c9338b

@ -1077,6 +1077,8 @@ export class Line extends Entity
geo.vertices[0].copy(this.startPoint); geo.vertices[0].copy(this.startPoint);
geo.vertices[1].copy(this.endPoint); geo.vertices[1].copy(this.endPoint);
geo.computeBoundingSphere();
geo.verticesNeedUpdate = true; geo.verticesNeedUpdate = true;
} }
} }

Loading…
Cancel
Save