Vec2

inline fun <T : Number, Comparable<T>> Vec2(x: T, y: T): Vec2<T>

Returns a new 2D vector with coordinates (x, y).

Since

v2.0.0