1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00
Beef/BeefySysLib/util/Rect.h
2019-08-23 11:56:54 -07:00

30 lines
No EOL
342 B
C++

#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;