Esempio n. 1
0
        private void clusterButton_Click(object sender, EventArgs e)
        {
            this.DoBefore();
            int cubes = int.Parse(textBoxLength.Text);
            TriMeshSimplicationCluster cluster = new TriMeshSimplicationCluster(Mesh);

            cluster.BuildCubes(cubes);
            cluster.ClusterProcess();

            this.DoAfter();

            OnChanged(EventArgs.Empty);
        }
Esempio n. 2
0
        private void clusterButton_Click(object sender, EventArgs e)
        {
            this.DoBefore();
            int cubes = int.Parse(textBoxLength.Text);
            TriMeshSimplicationCluster cluster = new TriMeshSimplicationCluster(Mesh);

            cluster.BuildCubes(cubes);
            cluster.ClusterProcess();
           
            this.DoAfter();

            OnChanged(EventArgs.Empty);
        }