Example #1
0
 public static bool operator ==(Rect <T> a, Rect <T> b)
 {
     return(GenericArithmetic <T> .eq(a.x, b.x) &&
            GenericArithmetic <T> .eq(a.y, b.y) &&
            GenericArithmetic <T> .eq(a.width, b.width) &&
            GenericArithmetic <T> .eq(a.height, b.height));
 }
Example #2
0
 public static bool operator ==(Point <T> a, Point <T> b)
 {
     return(GenericArithmetic <T> .eq(a.x, b.x) &&
            GenericArithmetic <T> .eq(a.y, b.y));
 }