msteinbeck / tinyspline

ANSI C library for NURBS, B-Splines, and Bézier curves with interfaces for C++, C#, D, Go, Java, Javascript, Lua, Octave, PHP, Python, R, and Ruby.
MIT License
1.21k stars 209 forks source link

Tension: Spline with only one control point #217

Open msteinbeck opened 2 years ago

msteinbeck commented 2 years ago

If a spline has only one control point, tension creates a spline whose control point is nan.