angle method

double angle(
  1. V2 o
)

Implementation

double angle(V2 o) => math.atan2(x*o.y - y*o.x, x*o.x + y*o.y);