toVec2

fun toVec2(): Vec2

Returns a 2D vector with x and y coordinates of this vector.