Describes two-component vector including operator overloads.
X-axis component.
Y-axis component.
Return vector length.
Default constructor. Instantiates a zero length vector.
Copy constructor.
Instantiates a vector2 with initial values.
vector2
Instantiates a vector2 with equal values for x and y.
x
y