From 7557fb423436f21e485e27ffd7f10e2c15232135 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sun, 26 Oct 2025 17:35:21 -0400 Subject: start improving layout --- state.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'state.h') diff --git a/state.h b/state.h index bda822c..be55a11 100644 --- a/state.h +++ b/state.h @@ -19,6 +19,10 @@ #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #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; -- cgit v1.2.3