cross method

double cross(
  1. Vector2 v
)

Implementation

double cross(Vector2 v) {
  return x * v.y - y * v.x;
}