Vector2.copy constructor

Vector2.copy(
  1. Vector2 other
)

Implementation

Vector2.copy(Vector2 other)
    : x = other.x,
      y = other.y;