mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-25 09:18:10 +00:00
Prepare for follow-on change
This commit is contained in:
parent
b48c5e7ed4
commit
3ef7ce6214
@ -79,14 +79,15 @@ impl CurveGeometry for Circle {
|
||||
};
|
||||
|
||||
let size_hint = max.t - min.t;
|
||||
let increment = self.increment(tolerance, size_hint).inner.t;
|
||||
let increment = self.increment(tolerance, size_hint);
|
||||
|
||||
let mut curvature = Vec::new();
|
||||
|
||||
let mut t = snap_to_increment(min.t, increment) + increment;
|
||||
while t <= snap_to_increment(max.t, increment) {
|
||||
let mut t =
|
||||
snap_to_increment(min.t, increment.inner.t) + increment.inner.t;
|
||||
while t <= snap_to_increment(max.t, increment.inner.t) {
|
||||
curvature.push(Point::from([t]));
|
||||
t += increment;
|
||||
t += increment.inner.t;
|
||||
}
|
||||
|
||||
if direction.is_negative() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user