Hierarchy

  • Vector2

Constructors

Properties

Constructors

Properties

add: ((vec) => Vector2)

Type declaration

distanceTo: ((pos) => number)

Type declaration

    • (pos): number
    • Parameters

      Returns number

div: ((vec) => Vector2)

Type declaration

mul: ((vec) => Vector2)

Type declaration

sub: ((vec) => Vector2)

Type declaration

x: number
y: number

Generated using TypeDoc