summaryrefslogtreecommitdiff
path: root/src/extend/scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extend/scene.h')
-rw-r--r--src/extend/scene.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/extend/scene.h b/src/extend/scene.h
new file mode 100644
index 0000000..9c30115
--- /dev/null
+++ b/src/extend/scene.h
@@ -0,0 +1,17 @@
+#ifndef _SOFTSHADEROOM_SCENE_H_
+#define _SOFTSHADEROOM_SCENE_H_
+
+#include "light.h"
+#include "camera.h"
+
+#define LIGHT_LIMIT 4
+
+typedef struct {
+ Camera* main_camera;
+ Light lights[LIGHT_LIMIT]; int light_count;
+} Scene;
+
+// singleton
+extern Scene scene;
+
+#endif \ No newline at end of file