Remove redundant comment

This commit is contained in:
Hanno Braun 2024-06-21 20:30:51 +02:00
parent 6a6448070b
commit 77183637a3

View File

@ -53,12 +53,6 @@ fn approx_curve(
boundary: CurveBoundary<Point<1>>,
tolerance: impl Into<Tolerance>,
) -> CurveApprox {
// There are different cases of varying complexity. Circles are the hard
// part here, as they need to be approximated, while lines don't need to be.
//
// This will probably all be unified eventually, as `SurfacePath` and
// `GlobalPath` grow APIs that are better suited to implementing this code
// in a more abstract way.
let points = match (path, surface.u) {
(SurfacePath::Circle(_), GlobalPath::Circle(_)) => {
approx_circle_on_curved_surface()