Class Quat

A quaternion.

Hierarchy (view full)

Implements

Constructors

Properties

byteOffset: number

The offset in bytes of the array.

Accessors

  • get buffer(): ArrayBufferLike
  • The ArrayBuffer instance referenced by the array.

    Returns ArrayBufferLike

  • get byteLength(): number
  • The length in bytes of the array.

    Returns number

  • get length(): 4
  • Returns the length of Quat.

    Returns 4

  • get valid(): boolean
  • Whether the array is still valid.

    Returns boolean

Methods

  • Computes the linear interpolation between this and RHS.

    Parameters

    Returns this

  • Computes the shperic interpolation between this and RHS.

    Parameters

    Returns this

  • Return a Quat from rotation around x-axis.

    Parameters

    • angle: number

    Returns Quat

  • Return a Quat from rotation around y-axis.

    Parameters

    • angle: number

    Returns Quat

  • Return a Quat from rotation around z-axis.

    Parameters

    • angle: number

    Returns Quat

Generated using TypeDoc