yet another api rework, removal of integer types in public api, optionals at the end, some cleaning
This commit is contained in:
@ -6,13 +6,6 @@
|
||||
/* plain data aggregates that are accepted between public procedure boundaries */
|
||||
|
||||
|
||||
/* a point in some space (integer) */
|
||||
typedef struct Vec2i {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
} Vec2i;
|
||||
|
||||
|
||||
/* a point in some space (floating point) */
|
||||
typedef struct Vec2 {
|
||||
float x;
|
||||
@ -48,15 +41,6 @@ typedef struct Color {
|
||||
} Color;
|
||||
|
||||
|
||||
/* a rectangle with the origin at the upper left (integer) */
|
||||
typedef struct Recti {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
int32_t w;
|
||||
int32_t h;
|
||||
} Recti;
|
||||
|
||||
|
||||
/* a rectangle with the origin at the upper left (floating point) */
|
||||
typedef struct Rect {
|
||||
float x;
|
||||
|
Reference in New Issue
Block a user