Cleaned up some love.graphics code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-10 23:46:00 -04:00
parent 1e24a19bea
commit 0a8c6f3ee6
10 changed files with 68 additions and 89 deletions
+11
View File
@@ -61,6 +61,17 @@
namespace love
{
struct Rect
{
int x, y;
int w, h;
bool operator == (const Rect &rhs) const
{
return x == rhs.x && y == rhs.y && w == rhs.w && h == rhs.h;
}
};
struct Vertex
{
float x, y;