rust/landgen/src/wavefront_collapse/transform.rs
branchtransitional_engine
changeset 15919 659c92124c26
parent 15918 9bd828451d77
child 15920 168f44ef9b67
--- a/rust/landgen/src/wavefront_collapse/transform.rs	Sun Feb 12 14:19:02 2023 +0100
+++ b/rust/landgen/src/wavefront_collapse/transform.rs	Sun Feb 12 15:10:10 2023 +0100
@@ -40,6 +40,7 @@
     }
 
     pub fn is_mirrored(&self) -> bool {
+        use SymmetryTransform::*;
         match self {
             Id => false,
             Flip => false,
@@ -49,6 +50,7 @@
     }
 
     pub fn is_flipped(&self) -> bool {
+        use SymmetryTransform::*;
         match self {
             Id => false,
             Flip => true,