|
JNGL
Easy to use cross-platform 2D game library
|
Useful functions to position elements on the screen. More...
#include "Vec2.hpp"Go to the source code of this file.
Namespaces | |
| namespace | jngl |
| JNGL's main namespace. | |
Functions | |
| template<class T > | |
| void | setRightEdge (T &obj, jngl::Vec2 position) |
| Pass an object T that has methods setCenter(jngl::Vec2) and getWidth(). | |
Useful functions to position elements on the screen.
Definition in file positioning.hpp.