Ejemplo n.º 1
0
        /// <summary>
        /// internal.
        /// </summary>
        internal static void Pop()
        {
            MeshCreatorItem M = S.Pop() as MeshCreatorItem;

            //MeshContainer M = S.Pop() as MeshContainer;
            //MeshCreator.MeshListCurrent = M;
            M.Reset();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// internal.
        /// </summary>
        internal static void Push()
        {
            MeshCreatorItem MC = new MeshCreatorItem(MeshCreator.MeshVertices, MeshCreator.MeshNormals, MeshCreator.MeshTextureCoords, MeshIndices, MeshCreator.MeshListCurrent, MeshCreator.PenWidth, MeshCreator.SnapItem, MeshCreator.MeshMode, Selector.StoredSnapItems);

            S.Push(MC);
            Clear();

            //S.Push(MeshCreator.MeshListCurrent);
            //MeshCreator.MeshListCurrent = new MeshContainer();
        }