Class BoundingBox3

Hierarchy

  • BoundingBox3

Constructors

Properties

Methods

Constructors

Properties

max: Vector3
min: Vector3

Methods

  • Computes the minimum and maximum Vector3 objects for the BoundingBox3 from a given array of vertices

    Parameters

    • vertices: number[] | Vector3[]

      An array of Vector3 or number objects with the vertices

    Returns void

  • Checks if this BoundingBox3 object intersects with the provided BoundingBox3 object

    Returns

    True if the boxes intersect, false otherwise

    Parameters

    • box: BoundingBox3

      The BoundingBox3 object to check intersection against

    Returns boolean

Generated using TypeDoc