Ejemplo n.º 1
0
 public void Draw()
 {
     if (DebugData.QuadtreeDrawObjects || DebugData.QuadtreeDrawAllRects || DebugData.QuadtreeDrawTicks)
     {
         root.Draw();
     }
 }
Ejemplo n.º 2
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        northeast?.Draw();
        northwest?.Draw();
        southeast?.Draw();
        southwest?.Draw();
    }
Ejemplo n.º 3
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        if (isSubdivided)
        {
            northEast?.Draw();
            northWest?.Draw();
            southEast?.Draw();
            southWest?.Draw();
        }
    }
Ejemplo n.º 4
0
    public void Draw()
    {
        aabb.Draw(Color.white);

        if (subdivided)
        {
            northeast.Draw();
            northwest.Draw();
            southeast.Draw();
            southwest.Draw();
        }
    }
Ejemplo n.º 5
0
 public override void Draw()
 {
     rootNode?.Draw();
 }