Retrieves a new instance of the vector (0, 0)
Retrieves the x-component or y-component of the vector.
Checks if two vectors are equal, using a threshold to avoid floating-point precision errors.
Returns the distance from the vector to the origin.
Sets both the x- and y-components of the vector to 0.
Returns the distance from the vector to the origin, squared.
Generated using TypeDoc