Exemplo n.º 1
0
        private void buttonBuildPoly_Click(object sender, EventArgs e) // build 多边形
        {
            BuildPolyForm bpf = new BuildPolyForm();
            DialogResult  dr  = bpf.ShowDialog();

            if (dr == DialogResult.OK)
            {
                SceneSceneEditor.BuildPolyAndSetInHand(bpf.m_nVergeNum, bpf.m_fRadius, bpf.m_fHeight, bpf.m_fDegree);
            }
        }