Level H Engine
Namespaces | Macros | Functions
Convert.cpp File Reference
#include "Convert.h"
#include "MathsDefs.h"
#include "../Core/WindowFrame.h"
#include "../Core/Application.h"
#include "../Components/CameraComponent.h"
Include dependency graph for Convert.cpp:

Namespaces

 Convert
 Contains maths conversion functions for use within the code.
 

Macros

#define TWO_PI   6.283192f
 

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...
 

Macro Definition Documentation

◆ TWO_PI

#define TWO_PI   6.283192f