Example #1
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="size"></param>
		/// <param name="maxDepth"></param>
		public QuadTree(QuadTreeArea area, uint maxDepth)
		{
			TreeSize = area.Size;
			MaxDepthAllowed = maxDepth;
			mRoot = new Node(this, area.Pivot, area.Size);
		}
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="size"></param>
 /// <param name="maxDepth"></param>
 public QuadTree(QuadTreeArea area, uint maxDepth)
 {
     TreeSize        = area.Size;
     MaxDepthAllowed = maxDepth;
     mRoot           = new Node(this, area.Pivot, area.Size);
 }