private void buttonGenerate_Click(object sender, EventArgs e) { cn = new Subdivision(); scene.Reset(); cn.ControlMesh(scene, Matrix4.Identity, 0.0f, textParam.Text); Divide(); }