computeBoundingBox method
void
computeBoundingBox()
override
Implementation
computeBoundingBox() {
var box = new Box3(null, null);
if (this.boundingBox == null) {
this.boundingBox = new Box3(null, null);
}
var start = this.attributes["instanceStart"];
var end = this.attributes["instanceEnd"];
if (start != null && end != null) {
this.boundingBox!.setFromBufferAttribute(start);
box.setFromBufferAttribute(end);
this.boundingBox!.union(box);
}
}