Level H Engine
Namespaces | Functions
Convert.h File Reference
#include "Vec2.h"
#include "Vec3.h"
Include dependency graph for Convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Convert
 Contains maths conversion functions for use within the code.
 

Functions

float Convert::normaliseFloat (float numToNormalise, float maxNum, float minNum)
 Normailises a float. More...
 
float Convert::convertDegreeToRadian (float angle)
 Converts the degree to a radian. More...
 
float Convert::convertRadianToDegree (float angle)
 Converts the radian to a degree. More...
 
Vec2 Convert::convertToOpenGLCoords (Vec2 inVec)
 Converts the coordinates to work with OpenGL. More...
 
Vec2 Convert::scaleToOpenGLCoords (Vec2 inVec)
 Scales the coordinates to work with OpenGL. More...
 
Vec3 Convert::scaleToOpenGLCoords (Vec3 inVec)
 Scales the coordinates to work with OpenGL. More...