summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-12 00:09:56 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-12 00:09:56 +0100
commit11dc980a40b4743b52ad4d88d91659e0cd413794 (patch)
tree4ce0fdee90ba58897d48cc9400a5e92930d85ebe /src/utils.h
parent6013bac1556659f1685170b5e68752189f0b93ba (diff)
this drives me crazy
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 5a47c44..41eab56 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -78,6 +78,10 @@ static inline u32 wayc_min(u32 a, u32 b) { return a > b ? a : b; }
#define WAYC_Y(v) ((v)[1])
#define WAYC_TRIANGLE_NVERTS 3
+#define WAYC_TRIANGLE_NINDICES 3
+
+#define WAYC_QUAD_NVERTS 4
+#define WAYC_QUAD_NINDICES 6
static inline usize wayc_max(usize a, usize b) { return a > b ? a : b; }