Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
|
Integer rectangle struct. More...
#include <engine_structs.h>
Public Member Functions | |
Recti () | |
Recti (int x, int y, int width, int height) | |
bool | is_zero () const |
glm::ivec2 | top_left () const |
glm::ivec2 | bottom_right () const |
Public Attributes | |
int | x |
int | y |
int | width |
int | height |
Integer rectangle struct.
|
inline |
|
inline |
glm::ivec2 Recti::bottom_right | ( | ) | const |
bool Recti::is_zero | ( | ) | const |
glm::ivec2 Recti::top_left | ( | ) | const |
int Recti::height |
int Recti::width |
int Recti::x |
int Recti::y |