Пример #1
0
		/// <summary>
		/// 判断是否与另一范围有交集
		/// </summary>
		public bool Intersects(Bound3 other)
		{
			return x.Intersects(other.x) && y.Intersects(other.y) && z.Intersects(other.z);
		}
Пример #2
0
		/// <summary>
		/// 判断是否与另一范围有交集
		/// </summary>
		public bool Intersects(Bound2 other)
		{
			return x.Intersects(other.x) && y.Intersects(other.y);
		}