public override bool Equals(object obj) { if (obj == null) { return(false); } PSubVec o = (PSubVec)obj; return(o == this); }
public static int hash_PSubVec(PSubVec i2) { return(((i2.X * 5) ^ (i2.Y * 3)) / 4); }
public static PSubVec Min(PSubVec a, PSubVec b) { return new PSubVec(Math.Min(a.X, b.X), Math.Min(a.Y, b.Y)); }
public static int Dot(PSubVec a, PSubVec b) { return a.X * b.X + a.Y * b.Y; }
public static PSubVec Min(PSubVec a, PSubVec b) { return(new PSubVec(Math.Min(a.X, b.X), Math.Min(a.Y, b.Y))); }
public static int Dot(PSubVec a, PSubVec b) { return(a.X * b.X + a.Y * b.Y); }