Exemplo n.º 1
0
        public void Draw(Graphics3D g)
        {
            if (null == Root)
            {
                return;
            }
            List <Triangle> triangles = new List <Triangle>();

            Draw(Root, g.CameraPosition, ref triangles);
            foreach (var tr in triangles)
            {
                g.AddTriangle(tr);
            }
        }