updated sdl2 to use sdl2_gfx

This commit is contained in:
herbglitch 2025-02-11 00:57:39 -07:00
parent 66ff7877cb
commit 8166d3fa39
4 changed files with 26 additions and 41 deletions

View file

@ -13,6 +13,18 @@ typedef struct ARC_Circle {
int32_t r;
} ARC_Circle;
typedef struct ARC_FCircle {
float x;
float y;
float r;
} ARC_FCircle;
typedef struct ARC_DCircle {
double x;
double y;
double r;
} ARC_DCircle;
#ifdef __cplusplus
}
#endif

View file

@ -22,6 +22,11 @@ typedef struct ARC_FPoint {
float y;
} ARC_FPoint;
typedef struct ARC_DPoint {
double x;
double y;
} ARC_DPoint;
ARC_FPoint ARC_FPoint_Lerp(ARC_FPoint *start, ARC_FPoint *end, float t);
#ifdef __cplusplus