mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
20 lines
379 B
C++
20 lines
379 B
C++
#ifndef XNA_COMMON_RECTANGLE_HPP
|
|
#define XNA_COMMON_RECTANGLE_HPP
|
|
|
|
#include "../types.hpp"
|
|
|
|
namespace xna {
|
|
struct Rectangle {
|
|
Int Height{ 0 };
|
|
Int Width{ 0 };
|
|
Int X{ 0 };
|
|
Int Y{ 0 };
|
|
|
|
constexpr Rectangle() = default;
|
|
|
|
constexpr Rectangle(const Int& Height, const Int& Width, const Int& X, const Int& Y)
|
|
: Height(Height), Width(Width), X(X), Y(Y) {}
|
|
};
|
|
}
|
|
|
|
#endif |