Add reverse workspace filter option

This commit is contained in:
gqc
2026-07-08 19:16:02 +08:00
parent 041c830bfb
commit cb078492bc
6 changed files with 215 additions and 44 deletions
+4 -1
View File
@@ -38,11 +38,14 @@ typedef struct
} Polygon;
extern Polygon workspace;
extern bool ReverseWorkspace;
#define DUMP_POLYGON_INFO
void init_polygon(float *datas, int size);
bool is_point_in_workspace(int left, int top, int right, int bottom);
bool is_box_allowed_by_workspace(int left, int top, int right, int bottom);
const char *workspace_filter_mode();
#endif
#endif