|
Aegis2D
Modular C++26 2D game engine for networked games
|
Rectangle of a texture, in whole pixels from its top-left corner. More...
#include <aegis2d/render/sprite_sheet.hpp>
Public Attributes | |
| int | x = 0 |
| Left edge. | |
| int | y = 0 |
| Top edge. | |
| int | width = 0 |
| Width, above 0. | |
| int | height = 0 |
| Height, above 0. | |
Friends | |
| constexpr bool | operator== (const PixelRect &, const PixelRect &) noexcept=default |
| Compares the rectangles. | |
Rectangle of a texture, in whole pixels from its top-left corner.
| int aegis2d::render::PixelRect::height = 0 |
Height, above 0.
| int aegis2d::render::PixelRect::width = 0 |
Width, above 0.
| int aegis2d::render::PixelRect::x = 0 |
Left edge.
| int aegis2d::render::PixelRect::y = 0 |
Top edge.