Gjsify LogoGjsify Logo

Hierarchy

  • Vec3

Index

Constructors

Properties

v0: number
v1: number
v2: number
name: string

Methods

  • Adds two vector quantaties The arguments src and dest can be the same value.

    Parameters

    Returns void

  • clear(): void
  • Copies the vector into another vector. The arguments src and dest cannot be the same value.

    Parameters

    Returns void

  • getData(): number
  • init(v0: number, v1: number, v2: number): void
  • Initialises a vector.

    Parameters

    • v0: number

      component value

    • v1: number

      component value

    • v2: number

      component value

    Returns void

  • scalarMultiply(value: number, dest: Colord.Vec3): void
  • Multiplies a vector with a scalar. The arguments src and dest can be the same value.

    Parameters

    • value: number

      the scalar multiplier

    • dest: Colord.Vec3

      the destination

    Returns void

  • Subtracts one vector quantity from another The arguments src and dest can be the same value.

    Parameters

    Returns void

  • toString(): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method