Add CRectangle constructor

This commit is contained in:
Jack Andersen 2016-08-19 18:21:40 -10:00
parent 7aa5ccf0c7
commit b71cf19344
1 changed files with 1 additions and 0 deletions

View File

@ -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
{