Hierarchy

  • Coords
    • Vector4

Constructors

  • Parameters

    • data: number[] = ...

      Default is [0, 0, 0, 0] corresponding to x, y, z, and w coordinate labels.

    • modified: boolean = false

      Default is false.

    Returns Vector4

Accessors

Methods

  • Pre-multiplies the column vector corresponding to this vector by the matrix. The result is applied to this vector.

    Parameters

    • σ: Matrix4

      The 4x4 matrix that pre-multiplies this column vector.

    Returns Vector4

    this

    applyMatrix

  • Parameters

    • index: number

    Returns number

  • Determines whether this Lockable is locked. If the Lockable is in the unlocked state then it is mutable. If the Lockable is in the locked state then it is immutable.

    Returns boolean

  • Locks this Lockable (preventing any further mutation), and returns a token that may be used to unlock it.

    Returns number

  • Parameters

    • index: number
    • value: number

    Returns void

  • Parameters

    • array: number[] = []
    • offset: number = 0

    Returns number[]

  • Unlocks this Lockable (allowing mutation), using a token that was obtained from a preceding lock method call.

    Parameters

    • token: number

    Returns void