예제 #1
0
 public QuadTree()
 {
     this.m_Root = null;
     this.m_ScreenSpaceOffset = Vector2.zero;
     this.Clear();
 }
예제 #2
0
 public void SetSize(Rect rectangle)
 {
     this.m_Root      = null;
     this.m_Rectangle = rectangle;
     this.m_Root      = new QuadTreeNode <T>(this.m_Rectangle);
 }
예제 #3
0
 public void SetSize(Rect rectangle)
 {
     m_Root      = null;
     m_Rectangle = rectangle;
     m_Root      = new QuadTreeNode <T>(m_Rectangle);
 }