Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Math::Rect2D Struct Reference

Public Member Functions

 Rect2D (const Rect2D &other)=default
 
 Rect2D (Rect2D &&other) noexcept=default
 
Rect2Doperator= (const Rect2D &other)=default
 
Rect2Doperator= (Rect2D &&other) noexcept=default
 
 Rect2D (float width, float height)
 
 Rect2D (float x, float y, float width, float height)
 
 Rect2D (Grindstone::Math::Float2 extent)
 
 Rect2D (Grindstone::Math::Float2 offset, Grindstone::Math::Float2 extent)
 
 Rect2D (Grindstone::Math::Float4 v)
 
float GetX () const
 
float GetY () const
 
float GetWidth () const
 
float GetHeight () const
 

Public Attributes

Grindstone::Math::Float2 offset
 
Grindstone::Math::Float2 extent
 

The documentation for this struct was generated from the following file: