Esempio n. 1
0
 public static AxisAlignedBoundingBox Combine(AxisAlignedBoundingBox x, AxisAlignedBoundingBox y)
 {
     return new AxisAlignedBoundingBox(
         Point.ElementsMin(x.Min, y.Min),
         Point.ElementsMax(x.Max, y.Max));
 }
Esempio n. 2
0
 public static AxisAlignedBoundingBox Combine(AxisAlignedBoundingBox x, AxisAlignedBoundingBox y)
 {
     return(new AxisAlignedBoundingBox(
                Point.ElementsMin(x.Min, y.Min),
                Point.ElementsMax(x.Max, y.Max)));
 }