예제 #1
0
    public float Fit()
    {
        float fit = 0;

        for (int i = 0; i < templates.Count; i++)
        {
            float dot = Vector.Dot(templates[i], Skweezee.GetVector());

            if (dot > fit)
            {
                fit = dot;
            }
        }

        return(fit);
    }
예제 #2
0
 public void Record()
 {
     templates = new List <float[]>();
     templates.Add(Skweezee.GetVector());
 }