Exemplo n.º 1
0
 public static void Max(ref TSVector2 value1, ref TSVector2 value2, out TSVector2 result)
 {
     result.x = TSMath.Max(value1.x, value2.x);
     result.y = TSMath.Max(value1.y, value2.y);
 }
Exemplo n.º 2
0
 public static TSVector2 Max(TSVector2 value1, TSVector2 value2)
 {
     return(new TSVector2(
                TSMath.Max(value1.x, value2.x),
                TSMath.Max(value1.y, value2.y)));
 }