![]() |
Faro Engine 0.0.0.b519570 (main)
|
#include <Rect.hpp>
Public Member Functions | |
| IRect () | |
| IRect (T x, T y, T w, T h) | |
| IRect (Vector2< T > topLeft, Vector2< T > extend) | |
| T | Area () const |
| Vector2< T > | Size () const |
| Vector2< T > | Center () |
| bool | operator== (const IRect &other) const |
| bool | operator!= (const Vector2< T > &other) const |
| IRect | Lerp (const IRect &r, float fact) const |
| String | ToString () |
| template<class N > | |
| IRect< N > | ToType () |
Public Attributes | ||
| union { | ||
| Vector2< T > points [2] | ||
| struct { | ||
| Vector2< T > topLeft | ||
| Vector2< T > bottomRight | ||
| } | ||
| struct { | ||
| T x1 | ||
| T y1 | ||
| T x2 | ||
| T y2 | ||
| } | ||
| }; | ||
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| union { ... } Faro::IRect< T > |
| Vector2<T> Faro::IRect< T >::bottomRight |
| Vector2<T> Faro::IRect< T >::points[2] |
| Vector2<T> Faro::IRect< T >::topLeft |
| T Faro::IRect< T >::x1 |
| T Faro::IRect< T >::x2 |
| T Faro::IRect< T >::y1 |
| T Faro::IRect< T >::y2 |