aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-26 17:35:21 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-26 21:01:21 -0400
commit7557fb423436f21e485e27ffd7f10e2c15232135 (patch)
treeb5f7a1aa5bb99239cdb661b4fd889f5acc1686e9 /state.h
parent500cd948a40a9ad2ee8e123254d66259c46464d6 (diff)
start improving layout
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;