Change order of switch to match with listing order.
@@ -866,12 +866,12 @@ tinyspline::BSpline::BSpline(size_t numControlPoints,
{
tsBSplineType c_type = TS_CLAMPED;
switch (type) {
- case Clamped:
- c_type = TS_CLAMPED;
- break;
case Opened:
c_type = TS_OPENED;
break;
+ case Clamped:
+ c_type = TS_CLAMPED;
+ break;
case Beziers:
c_type = TS_BEZIERS;
break;
