Exemplo n.º 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);
		}
Exemplo n.º 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);
 }