rust/landgen/src/outline_template_based/outline_template.rs
branchtransitional_engine
changeset 16058 9cbd18220eb7
parent 15951 5f00829c55ec
--- a/rust/landgen/src/outline_template_based/outline_template.rs	Tue Sep 03 11:16:52 2024 +0200
+++ b/rust/landgen/src/outline_template_based/outline_template.rs	Tue Sep 03 13:56:35 2024 +0200
@@ -52,6 +52,14 @@
         }
     }
 
+    pub fn cavern(self) -> Self {
+        Self {
+            is_negative: true,
+            can_invert: false,
+            ..self
+        }
+    }
+
     pub fn with_fill_points(self, fill_points: Vec<Point>) -> Self {
         Self {
             fill_points,