Vec2
Vec2 is a two component floating-point vector value type.
function Vec2(Float x, Float y) → Vec2
Return a Vec2 with the specified x and y values.
This is equivalent to setting the values eplicitly. For example, these two lines have the same effect:
v.x = 10; v.y = 11.1 v = Vec2(10, 11.1)