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

Public Member Functions

 IntRect2D (const IntRect2D &other)=default
 IntRect2D (IntRect2D &&other) noexcept=default
IntRect2D & operator= (const IntRect2D &other)=default
IntRect2D & operator= (IntRect2D &&other) noexcept=default
 IntRect2D (uint32_t width, uint32_t height)
 IntRect2D (int32_t x, int32_t y, uint32_t width, uint32_t height)
 IntRect2D (Grindstone::Math::Extent2D extent)
 IntRect2D (Grindstone::Math::Offset2D offset, Grindstone::Math::Extent2D extent)
int32_t GetX () const
int32_t GetY () const
uint32_t GetWidth () const
uint32_t GetHeight () const

Public Attributes

Grindstone::Math::Offset2D offset
Grindstone::Math::Extent2D extent

The documentation for this struct was generated from the following file:
  • /github/workspace/sources/code/Common/Rect.hpp