use output's modes instead of a custom mode

This commit is contained in:
vaxerski
2022-04-13 17:11:37 +02:00
parent 32597bd8cb
commit 5d529d46e7
2 changed files with 51 additions and 5 deletions

View File

@@ -21,6 +21,8 @@
#define VECINRECT(vec, x1, y1, x2, y2) (vec.x >= (x1) && vec.x <= (x2) && vec.y >= (y1) && vec.y <= (y2))
#define DELTALESSTHAN(a, b, delta) (abs((a) - (b)) < delta)
#define interface class
#define STICKS(a, b) abs((a) - (b)) < 2