summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-10-05 13:55:05 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-10-05 13:55:05 +1000
commit2c1a7d7f293c26d631e15cf4cbec542ac50994aa (patch)
tree5180c14d347717779db1583f3432a094e082cb84 /src
parent034028807665e84f7c62de5901a3d82c8b5e880e (diff)
rename source folnder
Diffstat (limited to 'src')
-rw-r--r--src/backend_vk.c1
-rw-r--r--src/core.c11
-rw-r--r--src/frustum.c1
-rw-r--r--src/log.c0
-rw-r--r--src/maths.c3
-rw-r--r--src/mem.c0
-rw-r--r--src/pbr.c0
-rw-r--r--src/platform_osx.c0
-rw-r--r--src/platform_unix.c0
-rw-r--r--src/platform_win32.c0
-rw-r--r--src/ral.c0
-rw-r--r--src/shadows.c1
-rw-r--r--src/skybox.c0
-rw-r--r--src/threadpool.c0
14 files changed, 17 insertions, 0 deletions
diff --git a/src/backend_vk.c b/src/backend_vk.c
new file mode 100644
index 0000000..b6585d9
--- /dev/null
+++ b/src/backend_vk.c
@@ -0,0 +1 @@
+#include <celeritas.h>
diff --git a/src/core.c b/src/core.c
new file mode 100644
index 0000000..88979bb
--- /dev/null
+++ b/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/src/frustum.c b/src/frustum.c
new file mode 100644
index 0000000..afdc76f
--- /dev/null
+++ b/src/frustum.c
@@ -0,0 +1 @@
+/* Implements frustum culling in the reference renderer */
diff --git a/src/log.c b/src/log.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/log.c
diff --git a/src/maths.c b/src/maths.c
new file mode 100644
index 0000000..3ad1e2e
--- /dev/null
+++ b/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/src/mem.c b/src/mem.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/mem.c
diff --git a/src/pbr.c b/src/pbr.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/pbr.c
diff --git a/src/platform_osx.c b/src/platform_osx.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/platform_osx.c
diff --git a/src/platform_unix.c b/src/platform_unix.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/platform_unix.c
diff --git a/src/platform_win32.c b/src/platform_win32.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/platform_win32.c
diff --git a/src/ral.c b/src/ral.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/ral.c
diff --git a/src/shadows.c b/src/shadows.c
new file mode 100644
index 0000000..b6585d9
--- /dev/null
+++ b/src/shadows.c
@@ -0,0 +1 @@
+#include <celeritas.h>
diff --git a/src/skybox.c b/src/skybox.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/skybox.c
diff --git a/src/threadpool.c b/src/threadpool.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/threadpool.c