|
|
|
@ -55,7 +55,7 @@ export default class GstoreRenderer extends BaseRenderer { |
|
|
|
this.tempViewport, |
|
|
|
this.pointGeometry, |
|
|
|
this.pointMaterial, |
|
|
|
Constract.MAX_MEASURE_INSTANCES) |
|
|
|
Constract.MAX_GSTORE_INSTANCES) |
|
|
|
) |
|
|
|
} |
|
|
|
|
|
|
|
@ -78,8 +78,9 @@ export default class GstoreRenderer extends BaseRenderer { |
|
|
|
afterCreateOrUpdatePoint(item: ItemJson, option: RendererCudOption, object: Object3DLike) { |
|
|
|
super.afterCreateOrUpdatePoint(item, option, object) |
|
|
|
|
|
|
|
// 画边线
|
|
|
|
const center = [item.tf[0][0], item.tf[0][2]] |
|
|
|
const h = item.tf[0][1] || this.defulePositionY |
|
|
|
const h = (item.tf[0][1] || this.defulePositionY) + 0.01 |
|
|
|
const widthHalf = item.tf[2][0] / 2 |
|
|
|
const depthHalf = item.tf[2][2] / 2 |
|
|
|
const lwHalf = (item.dt.strokeWidth || this.defaultPointOption.strokeWidth) / 2 |
|
|
|
|