Beispiel #1
0
        public override void Split(ArrayList far, ArrayList near)
        {
            ArrayList f = new ArrayList();
            ArrayList n = new ArrayList();

            obj.Split(f, n);
            foreach (GlObject o in f)
            {
                far.Add(new TranslatedObject(origin, o));
            }
            foreach (GlObject o in n)
            {
                near.Add(new TranslatedObject(origin, o));
            }
        }
Beispiel #2
0
 public void Add(GlObject obj)
 {
     objects.Add(obj);
     obj.Split(far, near);
 }