Esempio 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);
            }
        }
Esempio n. 2
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);
     }
 }