fun splineTo(endPosition: Vector2d, endTangent: Double): PathBuilder
Adds a spline segment with tangent heading interpolation.
endPosition - end position
endPosition
endTangent - end tangent
endTangent