Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Vector

Index

Constructors

constructor

  • new Vector(x?: number, y?: number): Vector

Properties

x

x: number

y

y: number

Accessors

norm

  • get norm(): number

Methods

copy

multiply

  • multiply(s: number): void

negative

  • negative(): void

normalize

  • normalize(): void

setTo

  • setTo(x: number, y: number): void

Static add

Static angle

Static dotProduct

Static down

Static left

Static one

Static projection

Static right

Static subtract

Static up

Static zero

Generated using TypeDoc