summaryrefslogtreecommitdiff
path: root/new_src
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:43:38 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:43:38 +1000
commit54354e32c6498cc7f8839ab4deb1208d37216cc5 (patch)
tree7759597b971ba59d6af841a5bed793c229dd4c2b /new_src
parentbe8ab99b38c25e899008582d68e891150b328a4d (diff)
Begin simplifying project structure and removing examples
Diffstat (limited to 'new_src')
-rw-r--r--new_src/backend_vk.c1
-rw-r--r--new_src/core.c11
-rw-r--r--new_src/frustum.c1
-rw-r--r--new_src/log.c0
-rw-r--r--new_src/maths.c3
-rw-r--r--new_src/mem.c0
-rw-r--r--new_src/pbr.c0
-rw-r--r--new_src/ral.c0
-rw-r--r--new_src/shadows.c1
-rw-r--r--new_src/skybox.c0
-rw-r--r--new_src/threadpool.c0
11 files changed, 17 insertions, 0 deletions
diff --git a/new_src/backend_vk.c b/new_src/backend_vk.c
new file mode 100644
index 0000000..b6585d9
--- /dev/null
+++ b/new_src/backend_vk.c
@@ -0,0 +1 @@
+#include <celeritas.h>
diff --git a/new_src/core.c b/new_src/core.c
new file mode 100644
index 0000000..88979bb
--- /dev/null
+++ b/new_src/core.c
@@ -0,0 +1,11 @@
+// The engine "core"
+
+#include <celeritas.h>
+
+void Core_Bringup(const char* window_name) {
+ // INFO("Initiate Core bringup");
+ printf("Initiate core bringup\n");
+
+ printf("Create GLFW window\n");
+}
+void Core_Shutdown() {}
diff --git a/new_src/frustum.c b/new_src/frustum.c
new file mode 100644
index 0000000..afdc76f
--- /dev/null
+++ b/new_src/frustum.c
@@ -0,0 +1 @@
+/* Implements frustum culling in the reference renderer */
diff --git a/new_src/log.c b/new_src/log.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/log.c
diff --git a/new_src/maths.c b/new_src/maths.c
new file mode 100644
index 0000000..3ad1e2e
--- /dev/null
+++ b/new_src/maths.c
@@ -0,0 +1,3 @@
+#include <celeritas.h>
+
+Vec3 Vec3_Create(f32 x, f32 y, f32 z) { return (Vec3){ x, y, z }; }
diff --git a/new_src/mem.c b/new_src/mem.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/mem.c
diff --git a/new_src/pbr.c b/new_src/pbr.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/pbr.c
diff --git a/new_src/ral.c b/new_src/ral.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/ral.c
diff --git a/new_src/shadows.c b/new_src/shadows.c
new file mode 100644
index 0000000..b6585d9
--- /dev/null
+++ b/new_src/shadows.c
@@ -0,0 +1 @@
+#include <celeritas.h>
diff --git a/new_src/skybox.c b/new_src/skybox.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/skybox.c
diff --git a/new_src/threadpool.c b/new_src/threadpool.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/new_src/threadpool.c