BoundingBox

constructor(min: Vec3d, max: Vec3d)

Creates a new bounding box with the given min and max values.

Parameters

min

the minimum vector

max

the maximum vector


constructor(min: Vec3i, max: Vec3i)

Creates a new bounding box with the given min and max values.

Parameters

min

the minimum vector

max

the maximum vector


constructor(minX: Double, minY: Double, minZ: Double, maxX: Double, maxY: Double, maxZ: Double)