Skip to content

Class: BoundUtil

Constructors

Methods

Constructors

constructor

new BoundUtil(): BoundUtil

Returns

BoundUtil

Methods

genMeshBounds

genMeshBounds(obj, bound?): BoundingBox

Merge the bounding boxes that have been added to the world matrix based on the mesh of the children node

Parameters

NameType
objObject3D
bound?BoundingBox

Returns

BoundingBox

Defined in

src/util/BoundUtil.ts:17


transformBound

transformBound(matrix, source, bound?): BoundingBox

Parameters

NameType
matrixMatrix4
sourceBoundingBox
bound?BoundingBox

Returns

BoundingBox

Defined in

src/util/BoundUtil.ts:57