diff options
Diffstat (limited to 'teensy/teensy.h')
| -rw-r--r-- | teensy/teensy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/teensy/teensy.h b/teensy/teensy.h index c8b8e9d..fe3b973 100644 --- a/teensy/teensy.h +++ b/teensy/teensy.h @@ -7,6 +7,7 @@ #define ty_vec2(x, y) ((struct ty_vec2){x, y}) #define ty_vec2i(x, y) ((struct ty_vec2i){x, y}) #define ty_color(R, G, B) ((struct ty_color){R, G, B}) +#define ty_img_full(img) ((struct ty_recti){0, 0, (img).width, (img).height}) #define TY_COLOR_BLACK ty_color(0, 0, 0 ) #define TY_COLOR_RED ty_color(255, 0, 0 ) |
