aboutsummaryrefslogtreecommitdiff
path: root/include/scene33.h
diff options
context:
space:
mode:
authorpk33 <pk33@pk33.space>2024-11-14 15:06:07 +0100
committerpk33 <pk33@pk33.space>2024-11-14 15:06:07 +0100
commited2a4bc4400c38ecd11baccac5db328b797b5d68 (patch)
treeb703749d0639f933edca4c3a78209159aa735c25 /include/scene33.h
parent5a54774474f43ae29716751d6415563a59b92c7d (diff)
downloadengine33-ed2a4bc4400c38ecd11baccac5db328b797b5d68.tar.gz
begin 3D rendering, basic camera controlsHEADmaster
Diffstat (limited to 'include/scene33.h')
-rw-r--r--include/scene33.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/scene33.h b/include/scene33.h
new file mode 100644
index 0000000..dbc1d46
--- /dev/null
+++ b/include/scene33.h
@@ -0,0 +1,27 @@
+#ifndef __SCENE33_H__
+#define __SCENE33_H__
+
+
+#include "types33.h"
+#include "graphics33.h"
+
+
+typedef struct Camera33 {
+ Vec3 t;
+ Vec3 r;
+} Camera33;
+
+typedef struct Scene33 {
+ Camera33 camera;
+
+ Model33 cube;
+} Scene33;
+
+extern Scene33 __scene;
+
+
+Error scene33_init( void );
+Error scene33_term( void );
+
+
+#endif /** SCENE33_H **/