1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00
Beef/BeefySysLib/util/Rect.h

30 lines
342 B
C
Raw Normal View History

2019-08-23 11:56:54 -07:00
#pragma once
#include "Common.h"
NS_BF_BEGIN;
class Rect
{
public:
float mX;
float mY;
float mWidth;
float mHeight;
public:
Rect()
{
mX = 0;
mY = 0;
mWidth = 0;
mHeight = 0;
}
bool operator!=(const Rect& r2)
{
return (mX != r2.mX) || (mY != r2.mY) || (mWidth != r2.mWidth) || (mHeight != r2.mHeight);
}
};
NS_BF_END;