#ifndef RECT_H_
#define RECT_H_
-#include <SDL2/SDL.h>
+#include <SDL.h>
#include "math/point.h"
Rect rect(float x, float y, float w, float h);
Rect rect_from_vecs(Point position, Vec size);
+Rect rect_from_points(Point p1, Point p2);
Rect rect_from_sdl(const SDL_Rect *rect);
Rect rects_overlap_area(Rect rect1, Rect rect2);