예제 #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));
 }
예제 #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)));
 }