summary refs log tree commit diff
path: root/src/Defines.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-02-12 12:55:11 +0100
committerMel <einebeere@gmail.com>2024-02-12 12:55:11 +0100
commitd2b5fc5b3bc648afffa42375706429685ac63794 (patch)
treea2dfbb241e1d46e5616c5884e5f3d685de2a2cb6 /src/Defines.hpp
parent588c7e87b7cab270698d43ca5c22d67793ae5fc4 (diff)
downloadmeowcraft-d2b5fc5b3bc648afffa42375706429685ac63794.tar.zst
meowcraft-d2b5fc5b3bc648afffa42375706429685ac63794.zip
Split rendering into own thread and sync through render action lists
Diffstat (limited to 'src/Defines.hpp')
-rw-r--r--src/Defines.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Defines.hpp b/src/Defines.hpp
new file mode 100644
index 0000000..1280e93
--- /dev/null
+++ b/src/Defines.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#define APP_NAME "Meowcraft"
+
+#define WINDOW_WIDTH 800
+#define WINDOW_HEIGHT 600
+#define ASPECT (static_cast<Real>(WINDOW_WIDTH) / WINDOW_HEIGHT)
+
+#define FOV 90
+
+// #DBDBDB
+#define SKY_COLOR {0.85, 0.85, 0.85}
+#define SUN_DIRECTION {1, -1, 0}