first commit

This commit is contained in:
2025-08-22 13:52:24 +08:00
commit 05a551d523
257 changed files with 49217 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef __MY_VERTIX_H__
#define __MY_VERTIX_H__
typedef struct
{
float x;
float y;
} Point;
typedef struct
{
int numVertix;
Point *vertix;
} Polygon;
extern Polygon workspace;
#define DUMP_POLYGON_INFO
void init_polygon(float *datas, int size);
bool is_point_in_workspace(int left, int top, int right, int bottom);
#endif