示例#1
0
文件: Range3d.cs 项目: nQuantums/tips
 public void ExpandSelf(element s)
 {
     Min.SubSelf(s);
     Max.AddSelf(s);
 }
示例#2
0
文件: Aabb3d.cs 项目: nQuantums/tips
 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);
 }