Exemple #1
0
 public static Point <T> operator %(Point <T> first, Point <T> second)
 {
     return(new Point <T>(MathUnsafe.Modulo(first.X, second.X), MathUnsafe.Modulo(first.Y, second.Y)));
 }
 public static Point <T> operator %(Point <T> pos1, Point <T> pos2)
 {
     return(new Point <T>(MathUnsafe.Modulo(pos1.X, pos2.X), MathUnsafe.Modulo(pos1.Y, pos2.Y)));
 }