Modularize a bit more: split mandelwow and cube to separate files.
[mandelwow.git] / cube.rs
diff --git a/cube.rs b/cube.rs
new file mode 100644 (file)
index 0000000..de5315b
--- /dev/null
+++ b/cube.rs
@@ -0,0 +1,11 @@
+use std::f32;
+
+#[derive(Copy, Clone)]
+pub struct Cube {
+    pub xmin: f32,
+    pub ymin: f32,
+    pub zmin: f32,
+    pub xmax: f32,
+    pub ymax: f32,
+    pub zmax: f32,
+}