5#ifndef SAPPHIRE_MATHS_RECT2D_GUARD
6#define SAPPHIRE_MATHS_RECT2D_GUARD
10#include <SA/Support/Pragma.hpp>
32 SA_PRAGMA_SDWARN_MSVC(4201)
64 SA_PRAGMA_EDWARN_MSVC()
89 Rect2D(T _x, T _y, T _width, T _height) noexcept :
113 template <
typename T>
Vector 2 type implementation.
Rectangle2D Sapphire's class.
Definition Rectangle2D.hpp:31
T x
alias for offset.x
Definition Rectangle2D.hpp:42
T height
alias for extent.y
Definition Rectangle2D.hpp:60
T y
alias for offset.y
Definition Rectangle2D.hpp:45
Vec2< T > extent
extents.
Definition Rectangle2D.hpp:52
T width
alias for extent.x
Definition Rectangle2D.hpp:57
Vec2< T > offset
offset.
Definition Rectangle2D.hpp:37
Rect2D(T _x, T _y, T _width, T _height) noexcept
Constructor from (x, y) (offset) and (width, height) (extent).
Definition Rectangle2D.hpp:89
Vector 2 Sapphire's class.
Definition Vector2.hpp:41