Skip to content

Commit

Permalink
Remove Shape::merge_shape
Browse files Browse the repository at this point in the history
It is no longer being used.
  • Loading branch information
hannobraun committed Jun 28, 2022
1 parent 32d0ad9 commit c5cffd4
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions crates/fj-kernel/src/shape/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,31 +99,6 @@ impl Shape {
object.merge_into(self)
}

/// Merge the provided shape into this one
///
/// Returns a [`Mapping`] that maps each object from the merged shape to the
/// merged objects in this shape.
pub fn merge_shape(&mut self, other: &Shape) {
for object in other.curves() {
object.get().merge_into(self);
}
for object in other.surfaces() {
object.get().merge_into(self);
}
for object in other.vertices() {
object.get().merge_into(self);
}
for object in other.edges() {
object.get().merge_into(self);
}
for object in other.cycles() {
object.get().merge_into(self);
}
for object in other.faces() {
object.get().merge_into(self);
}
}

/// Access an iterator over all curves
///
/// The caller must not make any assumptions about the order of curves.
Expand Down

0 comments on commit c5cffd4

Please sign in to comment.