|
Level H Engine
|
Contains maths conversion functions for use within the code. More...
Functions | |
| float | normaliseFloat (float numToNormalise, float maxNum, float minNum) |
| Normailises a float. More... | |
| float | convertDegreeToRadian (float angle) |
| Converts the degree to a radian. More... | |
| float | convertRadianToDegree (float angle) |
| Converts the radian to a degree. More... | |
| Vec2 | convertToOpenGLCoords (Vec2 inVec) |
| Converts the coordinates to work with OpenGL. More... | |
| Vec2 | scaleToOpenGLCoords (Vec2 inVec) |
| Scales the coordinates to work with OpenGL. More... | |
| Vec3 | scaleToOpenGLCoords (Vec3 inVec) |
| Scales the coordinates to work with OpenGL. More... | |
Contains maths conversion functions for use within the code.
| float Convert::convertDegreeToRadian | ( | float | angle | ) |
Converts the degree to a radian.
| angle | The angle to convert. |

| float Convert::convertRadianToDegree | ( | float | angle | ) |
Converts the radian to a degree.
| angle | The angle to convert. |
Converts the coordinates to work with OpenGL.
| inVec | The coordinates to convert. |


| float Convert::normaliseFloat | ( | float | numToNormalise, |
| float | maxNum, | ||
| float | minNum | ||
| ) |
Normailises a float.
| numToNormalise | The number to normalise. |
| maxNum | The maximum value. |
| minNum | The minimum value. |

Scales the coordinates to work with OpenGL.
| inVec | The coordinates to scale. |


1.8.13