use output's modes instead of a custom mode
This commit is contained in:
parent
32597bd8cb
commit
5d529d46e7
2 changed files with 51 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue