cross2 function

double cross2(
  1. Vector2 x,
  2. Vector2 y
)

2D cross product. vec2 x vec2.

Implementation

double cross2(Vector2 x, Vector2 y) => x.cross(y);