FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::Rect< T > Class Template Reference

Public Member Functions

 Rect (Vector2< T > const &position, Vector2< T > const &size)
 
template<class U >
 Rect (Rect< U > const &rectangle)
 
bool operator== (Rect< T > const &right) const
 
bool operator!= (Rect< T > const &right) const
 
bool contains (Vector2< T > const &point) const
 
std::optional< Rect< T > > findIntersection (Rect< T > const &rectangle) const
 
Vector2< T > getPosition () const
 
Vector2< T > getSize () const
 

Public Attributes

_x
 
_y
 
_width
 
_height
 

The documentation for this class was generated from the following files: