JNGL
Easy to use cross-platform 2D game library
|
Simple struct for a rectangle, can be use with jngl::contains. More...
#include <jngl/Rect.hpp>
Public Member Functions | |
double | getX () const |
double | getY () const |
double | getWidth () const |
double | getHeight () const |
Public Attributes | |
Vec2 | pos |
Vec2 | size |
Simple struct for a rectangle, can be use with jngl::contains.