twn_draw.c: draw_box()

This commit is contained in:
veclavtalica committed 2025-01-23 21:53:15 +03:00
1 parent 0dc0a18019
commit 53917b05b7
2 files changed
+15

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ TWN_API void draw_line(Vec2 start,
float thickness, /* optional, default: 1 */
Color color); /* optional, default: all 255 */
TWN_API void draw_box(Rect rect,
float thickness, /* optional, default: 1 */
Color color); /* optional, default: all 255 */
/* pushes a textured 3d triangle onto the render queue */
/* texture coordinates are in pixels */
TWN_API void draw_triangle(char const *texture,