示例#1
0
        private void dooSabinToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SubdivisionQuad sub = new SubdivisionQuad(GlobalData.Instance.QuadMesh);

            GlobalData.Instance.QuadMesh = sub.DooSabin();
            QuadMeshUtil.ComputeNormal(GlobalData.Instance.QuadMesh);
        }
示例#2
0
 private void dooSabinToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SubdivisionQuad sub = new SubdivisionQuad(GlobalData.Instance.QuadMesh);
     GlobalData.Instance.QuadMesh = sub.DooSabin();
     QuadMeshUtil.ComputeNormal(GlobalData.Instance.QuadMesh);
 }