Function vec2.crossProduct

cross product of 2 vec2 is scalar in Z axis

float crossProduct(
  const(vec2) v2
) const;