aboutsummaryrefslogtreecommitdiff
path: root/src/symmetry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/symmetry.rs')
-rw-r--r--src/symmetry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symmetry.rs b/src/symmetry.rs
index 60ff791..6d4aed2 100644
--- a/src/symmetry.rs
+++ b/src/symmetry.rs
@@ -18,7 +18,7 @@ impl Symmetry {
18 (Some(x), Some(y)) => { 18 (Some(x), Some(y)) => {
19 let along_x = mirror_figure(figure, x, Axis::X); 19 let along_x = mirror_figure(figure, x, Axis::X);
20 let along_y = mirror_figure(figure, y, Axis::Y); 20 let along_y = mirror_figure(figure, y, Axis::Y);
21 let reflected = reflect_figure(figure, (x, y).into()); 21 let reflected = reflect_figure(figure, (y, x).into());
22 along_x 22 along_x
23 .into_iter() 23 .into_iter()
24 .chain(along_y) 24 .chain(along_y)