Ejemplo n.º 1
0
        public bool Equals(Short2 p)
        {
            if ((object)p == null)
                return false;

            return (x == p.x) && (y == p.y);
        }
Ejemplo n.º 2
0
 public static void Write(this BinaryWriter writer, Short2 input)
 {
     writer.Write(input.x);
     writer.Write(input.y);
 }
Ejemplo n.º 3
0
 public Short2(Short2 t)
 {
     this.x = t.x;
     this.y = t.y;
 }