copy

fun copy(): Vec2

Copy method to return a new copy of the current instance vector.

Return

A new Vec2 object.