81 Rect(
float x,
float y,
float width,
float height);
Definition actions.hpp:25
Definition geometry.hpp:26
Point lerp(const Point &other, const float &percent) const
float x
Definition geometry.hpp:27
bool operator!=(const Point &other) const
float y
Definition geometry.hpp:28
Point operator/(const float &a) const
Point operator-(const Point &a) const
Point operator*(const float &a) const
void operator-=(const Point &a)
bool operator==(const Point &other) const
Point operator+(const Point &a) const
void operator+=(const Point &a)
Definition geometry.hpp:70
Size size
Definition geometry.hpp:72
bool operator==(const Rect &other) const
bool collideWith(const Rect &other) const
bool pointInside(Point point)
Rect offsetBy(const Point &origin) const
Rect(Point origin, Size size)
Rect(float x, float y, float width, float height)
bool inscribed(const Rect &other) const
Point origin
Definition geometry.hpp:71
Definition geometry.hpp:50
float width
Definition geometry.hpp:51
Size operator-(const Size &a) const
Size(float width, float height)
Size operator+(const Size &a) const
float height
Definition geometry.hpp:52
Size operator/(const float &a) const
Size operator*(const float &a) const
bool operator==(const Size &other) const