Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-04-16 10:40:20 +02:00
parent edb347d056
commit 0a60e65468

View File

@ -96,9 +96,9 @@ impl CircleApproxParams {
&self,
boundary: impl Into<CurveBoundary<Point<1>>>,
) -> impl Iterator<Item = Point<1>> + '_ {
let boundary = boundary.into();
let boundary = boundary.into().inner;
let [a, b] = boundary.inner.map(|point| point.t / self.increment);
let [a, b] = boundary.map(|point| point.t / self.increment);
let direction = (b - a).sign();
let [min, max] = if a < b { [a, b] } else { [b, a] };