A namespace to contain utility functions. More...
Functions | |
| float | getPI () |
| float | convertDegreeToRadian (float angle) |
| float | convertRadianToDegree (float angle) |
| JAM_Vec2 | scaleVector (JAM_Vec2 vector, int screenHeight) |
| float | scaleNumber (float number, int screenHeight) |
A namespace to contain utility functions.
| float JAM_Utilities::convertDegreeToRadian | ( | float | angle | ) |
Converts the degree to a radian.
| angle | The angle to convert. |
| float JAM_Utilities::convertRadianToDegree | ( | float | angle | ) |
Converts the radian to a degree.
| angle | The angle to convert. |
| float JAM_Utilities::getPI | ( | ) |
Getter # Gets the value for PI.
| float JAM_Utilities::scaleNumber | ( | float | number, |
| int | screenHeight | ||
| ) |
Scale the number using the screen height.
| number | The original number. |
| screenHeight | The screen height. |

1.8.8