TriangleNet.Mesh.VertexDealloc C# (CSharp) Method

VertexDealloc() private method

Deallocate space for a vertex, marking it dead.
private VertexDealloc ( Vertex dyingvertex ) : void
dyingvertex Vertex
return void
        internal void VertexDealloc(Vertex dyingvertex)
        {
            // Mark the vertex as dead. This makes it possible to detect dead
            // vertices when traversing the list of all vertices.
            dyingvertex.type = VertexType.DeadVertex;
            vertices.Remove(dyingvertex.hash);
        }