Drawing a CatmullRomSpline in libgdx with an endpoint and startpoint
问题 So my goal is to draw a spline similar to this one (where the line goes through each point): But the spline loops around (from the end point 2 back to the start point): I tried changing the "continuous" boolean in the catmullromspline, but that resulted in only a dot being drawn in the center of the screen. I also ended the line drawing when it hit the last point, but the result was ugly because the line was still curving at the start and end points. I looked everywhere in the source code,