summary refs log tree commit diff
path: root/src/Common
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-04-09 03:34:50 +0200
committerMel <einebeere@gmail.com>2024-04-09 03:34:50 +0200
commit22f3bad59de14b62c6680d10aff2cea5ac5b11dc (patch)
tree038add33df7ead1759bdd2ca9e2087fd55b1512f /src/Common
parent2ab9e650f814d47e78fc95500605b4561922893d (diff)
downloadmeowcraft-22f3bad59de14b62c6680d10aff2cea5ac5b11dc.tar.zst
meowcraft-22f3bad59de14b62c6680d10aff2cea5ac5b11dc.zip
Traverse all chunk blocks in a unified (and cache-friendly) way
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Iteration.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Common/Iteration.hpp b/src/Common/Iteration.hpp
new file mode 100644
index 0000000..cdcecd2
--- /dev/null
+++ b/src/Common/Iteration.hpp
@@ -0,0 +1,6 @@
+#pragma once
+
+enum class Iteration {
+    Continue,
+    Break,
+};