mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Cleaned up some love.graphics code.
--HG-- branch : minor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user