Esempio n. 1
0
        public void Start()
        {
            played = -100;
            qPans  = new quadPanel[meshPanels.Count];
            curv.Clear();

            for (int i = 0; i < meshPanels.Count; i++)
            {
                quadPanel qPan = new quadPanel(meshPanels[i]);
                qPans[i] = qPan;
                curv.Add(qPan.weights[0]);
            }

            clusterGroup = new KClusterGroup(k, qPans);
            timer.Start();
        }
Esempio n. 2
0
        public void Reset()
        {
            played = -100;
            qPans  = new quadPanel[meshPanels.Count];
            curv   = new List <double>();

            for (int i = 0; i < meshPanels.Count; i++)
            {
                quadPanel qPan = new quadPanel(meshPanels[i]);
                qPans[i] = qPan;

                curv.Add(qPan.weights[0]);
            }

            clusterGroup = new KClusterGroup(k, qPans);

            counter = 0;
        }