Add reverse workspace filter option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user