Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AABB

Index

Constructors

constructor

Properties

Private _max

_max: vec3 = null

Private _min

_min: vec3 = null

Methods

containsAABB

  • containsAABB(aabb: AABB): boolean
  • Indicates if this AABB contains the provided AABB

    Parameters

    • aabb: AABB

      The AABB to check

    Returns boolean

containsPoint

  • containsPoint(pt: vec3): boolean
  • Indicates if this AABB contains the provided point

    Parameters

    • pt: vec3

      The point to check

    Returns boolean

getCenter

  • getCenter(): vec3

getMax

  • getMax(): vec3

getMin

  • getMin(): vec3

getSize

  • getSize(): vec3

intersectsAABB

  • intersectsAABB(aabb: AABB): boolean
  • Indicates if this and the provided AABB are intersecting

    Parameters

    • aabb: AABB

      The AABB to check

    Returns boolean

Generated using TypeDoc