Specifies the easing function for a specific currentPoint.
Points starts at index 0. The index 0 refers to the first to call. Using this function without adding a currentPoint with to leads to undefined behaviour.
to