summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo/gfx_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rodeo/gfx_t.h')
-rw-r--r--include/rodeo/gfx_t.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/rodeo/gfx_t.h b/include/rodeo/gfx_t.h
index 63811c5..3d206c2 100644
--- a/include/rodeo/gfx_t.h
+++ b/include/rodeo/gfx_t.h
@@ -3,6 +3,7 @@
// -- internal --
// public
#include "rodeo_types.h"
+#include "rodeo/math/vec2_t.h"
// -- system --
#include <inttypes.h>
@@ -67,3 +68,13 @@ rodeo_gfx_vertex_t;
typedef uint16_t rodeo_gfx_index_t;
+typedef
+struct
+{
+ rodeo_math_vec2_t target;
+ float turns;
+ float zoom;
+ rodeo_math_vec2_t offset;
+}
+rodeo_gfx_camera_2d_t;
+