Example #1
0
 public void ExpandSelf(element s)
 {
     Min.SubSelf(s);
     Max.AddSelf(s);
 }
Example #2
0
 public bool Contains(vector v)
 {
     v.SubSelf(Center);
     return(Math.Abs(v.X) <= Extents.X && Math.Abs(v.Y) <= Extents.Y && Math.Abs(v.Z) <= Extents.Z && Math.Abs(v.W) <= Extents.W);
 }