Esempio n. 1
0
        protected virtual void SelectByPoint()
        {
            int minIndex = SelectVertexByPoint(false);

            if (curVertex != -1)
            {
                TriMesh.Edge edge = TriMeshUtil.FindEdge(mesh.Vertices[curVertex], mesh.Vertices[minIndex]);
                if (edge != null)
                {
                    edge.Traits.SelectedFlag = 1;
                }
            }
            curVertex = minIndex;
        }