ConstTurn a unary function into a pair-wise unary function.
Turn a binary function into a pair-wise binary function, for example one that operates on two Vector2s.
Returns the maximum of two coordinates, i.e. the lower right corner of a bounding box containing them.
Returns the minimum of two coordinates, i.e. the upper left corner of a bounding box containing them.
Apply a true modulus (i.e. where -1 % 3 == 2) to a Vector2.
For JS-style modulus (who wants that?) use Vec2.map2((a,b) => a % b)
The full library of Vector2 functions.