aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'state.h')
-rw-r--r--state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/state.h b/state.h
index bda822c..be55a11 100644
--- a/state.h
+++ b/state.h
@@ -20,6 +20,10 @@
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
typedef struct {
+ float x, y, dx, dy;
+} Rect;
+
+typedef struct {
GLuint vbo, ebo, vao;
uint32_t num_elements;
size_t pixel_len;