JNGL
Easy to use cross-platform 2D game library
|
#include "Vec2.hpp"
Go to the source code of this file.
Namespaces | |
namespace | jngl |
JNGL's main namespace. | |
Functions | |
double | getScaleFactor () |
Size of one screen pixel in actual pixels. | |
void | setScaleFactor (double) |
Overwrite the size of one screen pixel. | |
double | getScreenWidth () |
jngl::getScreenSize().x | |
double | getScreenHeight () |
jngl::getScreenSize().y | |
Vec2 | getScreenSize () |
Returns the size of the useable draw area (excluding letter-boxing) in screen pixels. | |