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