crossBetween static method

double crossBetween(
  1. Vector2 a,
  2. Vector2 b
)

Implementation

static double crossBetween(Vector2 a, Vector2 b) {
  return a.x * b.y - a.y * b.x;
}