Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(parent) {
super(parent)
// If fully hidden by parent clipping rect, cull the whole Group out of the scene
Object.defineProperty(this.threeObject, 'visible', groupVisiblePropDef)
// Anonymous container for bg/border/scrollbar child objects; these live separate
// from the main `children` tree
this.layers = new Group3DFacade(this)
this.layers.children = [null, null, null]
this._sizeVec2 = new Vector2()
this._clipRectVec4 = new Vector4()
this._borderWidthVec4 = new Vector4()
this._borderRadiiVec4 = new Vector4()
;(this._geomBoundingSphere = new Sphere()).version = 0
}