Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AABB

Hierarchy

  • AABB

Index

Constructors

constructor

Properties

max

max: Vector3

min

min: Vector3

Static pool

pool: ObjectPool<AABB> = new ObjectPool(AABB, 32)

Accessors

corners

Methods

add

  • add(other: AABB): this

addAABBs

collidesWith

  • collidesWith(other: AABB): boolean

contains

copy

  • copy(other: AABB): this

set

transform

Static fromPool

Static fromVertexArray

  • fromVertexArray(positions: number[], primitiveType: PrimitiveType, indices?: number[]): AABB

Static fromVertexBuffer