public int BinarySearchFirstPoint(int curve, float time) { return BinarySearchFirstPoint(curve, time, 0, curves[curve].list.Count-1); }