updated sdl2 to use sdl2_gfx
This commit is contained in:
parent
66ff7877cb
commit
8166d3fa39
4 changed files with 26 additions and 41 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue