mirror of
https://github.com/AxioDL/zeus.git
synced 2025-06-02 12:41:22 +00:00
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…
x
Reference in New Issue
Block a user