2#include "../Containers/String.hpp"
13#pragma warning(suppress: 4201)
15#pragma warning(suppress: 4201)
48 return "(x: " + Faro::ToString<T>(
x1) +
", y: " + Faro::ToString<T>(
y1) +
", w: " + Faro::ToString<T>(
x2 -
x1) +
", h: " + Faro::ToString<T>(
y2 -
y1) +
")";
IRect< float > FloatRect
Definition Rect.hpp:58
IRect< int32 > IntRect
Definition Rect.hpp:59
T y1
Definition Rect.hpp:16
Vector2< T > points[2]
Definition Rect.hpp:12
T x2
Definition Rect.hpp:16
T x1
Definition Rect.hpp:16
Vector2< T > Center()
Definition Rect.hpp:29
T y2
Definition Rect.hpp:16
IRect(Vector2< T > topLeft, Vector2< T > extend)
Definition Rect.hpp:23
IRect< N > ToType()
Definition Rect.hpp:52
Vector2< T > bottomRight
Definition Rect.hpp:14
T Area() const
Definition Rect.hpp:25
Vector2< T > topLeft
Definition Rect.hpp:14
bool operator!=(const Vector2< T > &other) const
Definition Rect.hpp:39
IRect()
Definition Rect.hpp:19
String ToString()
Definition Rect.hpp:46
Vector2< T > Size() const
Definition Rect.hpp:27
IRect Lerp(const IRect &r, float fact) const
Definition Rect.hpp:44
IRect(T x, T y, T w, T h)
Definition Rect.hpp:21
bool operator==(const IRect &other) const
Definition Rect.hpp:34
T x
Definition Vector2.hpp:14
T y
Definition Vector2.hpp:14