Exemplo n.º 1
0
 public override void draw(SCENE scene)
 {
     ICommand.round_move_decimals.Push(5);
     copy(_points, points);
     Zlc.adjust(_points);
     for (int i = rects2.Length - 1; i >= 0; i--)
     {
         if (!rects2[i].left.shouldcull())
         {
             orects2[i].update(scene);
         }
         else
         {
             orects2[i].update(scene, -1f, -1f, -1f);
         }
     }
     for (int i = 0; i < rects.Length; i++)
     {
         if (rects[i].left.shouldcull())
         {
             orects[i].update(scene);
         }
         else
         {
             orects[i].update(scene, -1f, -1f, -1f);
         }
     }
     ICommand.round_move_decimals.Pop();
 }
Exemplo n.º 2
0
            public override void draw(SCENE scene)
            {
                ICommand.round_move_decimals.Push(5);
                copy(_points, points);

                Zlc.adjust(_points);

                foreach (Orect r in rects)
                {
                    r.update(scene);
                }
                ICommand.round_move_decimals.Pop();
            }