![]() |
HeadBall
1.0
A game
|
Go to the source code of this file.
Namespaces | |
Converter | |
Convert the units from Box2D units to SFML units and vice-versa. | |
Functions | |
template<class T > | |
constexpr T | Converter::pixelsToMeters (const T &x) |
Convert the unit from pixels to meters. More... | |
template<class T > | |
constexpr T | Converter::metersToPixels (const T &x) |
Convert the unit from meters to pixels. More... | |
template<class T > | |
constexpr T | Converter::degToRad (const T &x) |
Convert the unit from degrees to radians. More... | |
template<class T > | |
constexpr T | Converter::radToDeg (const T &x) |
Convert the unit from radians to degrees. More... | |
Variables | |
const float | Converter::PPM = 30.0f |
const float | Converter::PI = 3.1415 |