mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 20:38:30 +00:00
Prepare for follow-on change
This commit is contained in:
parent
edb347d056
commit
0a60e65468
@ -96,9 +96,9 @@ impl CircleApproxParams {
|
|||||||
&self,
|
&self,
|
||||||
boundary: impl Into<CurveBoundary<Point<1>>>,
|
boundary: impl Into<CurveBoundary<Point<1>>>,
|
||||||
) -> impl Iterator<Item = 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 direction = (b - a).sign();
|
||||||
let [min, max] = if a < b { [a, b] } else { [b, a] };
|
let [min, max] = if a < b { [a, b] } else { [b, a] };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user