summaryrefslogtreecommitdiff
path: root/src/scene.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 17:07:03 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 17:07:03 +1000
commit93c8d40b39fe55a626e66d412450fb4cca1f993b (patch)
treec064a1729404100ea6bfa62c0960442a17791fdb /src/scene.h
parentfc35df8e999521b8be7c44800f4ff4665df3254a (diff)
scene thoughts
Diffstat (limited to 'src/scene.h')
-rw-r--r--src/scene.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/scene.h b/src/scene.h
new file mode 100644
index 0000000..2cc4d8a
--- /dev/null
+++ b/src/scene.h
@@ -0,0 +1,30 @@
+/**
+ * @file scene.h
+ * @author your name (you@domain.com)
+ * @brief
+ * @version 0.1
+ * @date 2024-04-27
+ *
+ * @copyright Copyright (c) 2024
+ *
+ */
+#include "defines.h"
+#include "types.h"
+
+typedef struct scene {
+ // directional_light dir_light;
+ // point_light point_lights[4];
+ // size_t n_point_lights;
+} scene;
+
+bool scene_add_directional_light(scene* s /* TODO */);
+bool scene_add_point_light(scene* s /* TODO */);
+
+// There can only be one heightmap terrain at a time right now.
+bool scene_add_heightmap(scene* s /* TODO */);
+bool scene_delete_heightmap(scene* s);
+
+bool scene_add_model(scene *s, model_handle model);
+void scene_remove_model(scene *s, model_handle model);
+
+// TODO: functions to load and save scenes from disk \ No newline at end of file