예제 #1
0
 public void Draw()
 {
     if (DebugData.QuadtreeDrawObjects || DebugData.QuadtreeDrawAllRects || DebugData.QuadtreeDrawTicks)
     {
         root.Draw();
     }
 }
예제 #2
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        northeast?.Draw();
        northwest?.Draw();
        southeast?.Draw();
        southwest?.Draw();
    }
예제 #3
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        if (isSubdivided)
        {
            northEast?.Draw();
            northWest?.Draw();
            southEast?.Draw();
            southWest?.Draw();
        }
    }
예제 #4
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        if (subdivided)
        {
            northeast.Draw();
            northwest.Draw();
            southeast.Draw();
            southwest.Draw();
        }
    }
예제 #5
0
 public override void Draw()
 {
     rootNode?.Draw();
 }