Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Vector2

A 2D vector.

Hierarchy

  • Vector2

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Vector2(x: number, y: number): Vector2
  • Parameters

    • x: number
    • y: number

    Returns Vector2

Properties

x

x: number

y

y: number

Generated using TypeDoc