mirror of https://github.com/AxioDL/zeus.git
Add CRectangle constructor
This commit is contained in:
parent
7aa5ccf0c7
commit
b71cf19344
|
@ -8,6 +8,7 @@ class CRectangle
|
|||
{
|
||||
public:
|
||||
CRectangle() {}
|
||||
CRectangle(float x, float y, float w, float h) : position(x, y), size(w, h) {}
|
||||
|
||||
inline bool contains(const CVector2f& point) const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue