toVector2 method

Vector2 toVector2()

Implementation

Vector2 toVector2() {
  return Vector2(this.dx, this.dy);
}