public bool Equals(Short2 p) { if ((object)p == null) return false; return (x == p.x) && (y == p.y); }
public static void Write(this BinaryWriter writer, Short2 input) { writer.Write(input.x); writer.Write(input.y); }
public Short2(Short2 t) { this.x = t.x; this.y = t.y; }