1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/framework/common/rectangle.hpp
2024-03-18 15:41:46 -03:00

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