Exemplo n.º 1
0
 public static BoundingBox2 CreateMerged(BoundingBox2 a, BoundingBox2 b)
 {
     return new BoundingBox2(
         VectorMin(a.Min, b.Min),
         VectorMax(a.Max, b.Max)
     );
 }
Exemplo n.º 2
0
 public bool Intersects(BoundingBox2 other)
 {
     return this.ToBoundingBox3().Intersects(other.ToBoundingBox3());
 }