Class Vec3Pool

Vec3Pool

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

objects: any[]

The objects array.

type: typeof Vec3

The type of the objects.

Methods

  • Get an object

    Returns any

  • Release an object after use

    Parameters

    • Rest ...args: any[]

    Returns Pool

  • Parameters

    • size: number

    Returns Pool

    Self, for chaining