public int dot(int2 b) { return(x * b.x + y * b.y); }
public static int dot(int2 a, int2 b) { return(a.x * b.x + a.y * b.y); }