From ed2a4bc4400c38ecd11baccac5db328b797b5d68 Mon Sep 17 00:00:00 2001 From: pk33 Date: Thu, 14 Nov 2024 15:06:07 +0100 Subject: begin 3D rendering, basic camera controls --- include/scene33.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/scene33.h (limited to 'include/scene33.h') 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 **/ -- cgit v1.2.3