GCP Assignment 1
Convert.h
Go to the documentation of this file.
1 //DISCLAMER - This is a modified version of code from one of my other assignments.
2 
3 #pragma once
4 
5 #include "MathsDefs.h"
6 
10 namespace Maths
11 {
12 
16  namespace Convert
17  {
18 
24  float convertDegreeToRadian(float angle);
25 
31  float convertRadianToDegree(float angle);
32 
33  }//End of Convert namespace
34 
35 }//End of Maths namespace
float convertRadianToDegree(float angle)
Converts the radian to a degree.
Definition: Convert.cpp:16
float convertDegreeToRadian(float angle)
Converts the degree to a radian.
Definition: Convert.cpp:11
The namespace for all maths code.
Definition: Convert.cpp:5