| 1432 | } |
| 1433 | |
| 1434 | void SL::SubdivideForT(vector<Spline2>* splinesIn, float tolerance) |
| 1435 | { |
| 1436 | vector<Spline2> splines; |
| 1437 | |
| 1438 | for (const Spline2& s : *splinesIn) |
| 1439 | ::SubdivideForT(s, &splines, tolerance); |
| 1440 | |
| 1441 | splinesIn->swap(splines); |
| 1442 | } |
| 1443 | |
| 1444 | void SL::SubdivideForLengthRatio(vector<Vec2f>& positions, float maxRatio) |
| 1445 | { |
nothing calls this directly
no test coverage detected