Skip to content

Commit

Permalink
Update examples/src/heater_coil.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkovaxx authored Jun 26, 2024
1 parent e2513cb commit d6b86d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/heater_coil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn shape() -> Shape {
let p0 = spiral_points[0];
let p1 = spiral_points[sample_count - 1];

let coil = Edge::spline_from_points(spiral_points.into_iter(), None);
let coil = Edge::spline_from_points(spiral_points, None);
let attach_0 = Edge::segment(p0 - DVec3::new(0.0, attach_len, 0.0), p0);
let attach_1 = Edge::segment(p1, p1 - DVec3::new(0.0, attach_len, 0.0));
let path = Wire::from_edges(&[attach_0, coil, attach_1]);
Expand Down

0 comments on commit d6b86d2

Please sign in to comment.