Returns an instance of Vec2 with the given list of coordinates.
Returns a 2D vector defined by its polar coordinates: radial distance and angle.
Returns a 2D vector defined by its polar coordinates of given type: radial distance and angle.
Returns a null vector.
Returns a null vector with coordinates of given type.
Returns a standard unit vector in the direction of X axis.
Returns a standard unit vector in the direction of X axis with coordinates of given type.
Returns a standard unit vector in the direction of Y axis.
Returns a standard unit vector in the direction of Y axis with coordinates of given type.
A null vector.
A standard unit vector in the direction of X axis.
A standard unit vector in the direction of Y axis.