Interface Vector2

Two dimension vector

interface Vector2 {
    x: number;
    y: number;
}

Properties

x y

Properties

x: number

The x coordinate of the vector

y: number

The y coordinate of the vector