Add a Rect object

This commit is contained in:
Eryn Wells 2013-09-06 19:01:02 -07:00
parent 87b3ca0efc
commit 6d253aab10
2 changed files with 28 additions and 0 deletions

View file

@ -26,4 +26,12 @@ float vector_length(Vector3 v);
Vector3 vector_normalize(Vector3 v);
typedef struct {
float x, y;
float w, h;
} Rect;
Rect rect_init(float x, float y, float h, float w);
#endif