gophergfx
    Preparing search index...

    Class BoundingBox3

    Index
    max: Vector3
    min: Vector3
    • 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

      Parameters

      • box: BoundingBox3

        The BoundingBox3 object to check intersection against

      Returns boolean

      True if the boxes intersect, false otherwise