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); }
public void Record() { templates = new List <float[]>(); templates.Add(Skweezee.GetVector()); }