summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
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; }