Browse Source

Removed the redundant functions in CameraMatrix.hpp

Hrishikesh 4 years ago
parent
commit
09df1fc9b5
1 changed files with 0 additions and 6 deletions
  1. 0 6
      include/core/CameraMatrix.hpp

+ 0 - 6
include/core/CameraMatrix.hpp

@@ -43,12 +43,6 @@ struct CameraMatrix {
 		return Math::rad2deg(atan(p_aspect * tan(Math::deg2rad(p_fovx) * 0.5)) * 2.0);
 	}
 
-	static inline double deg2rad(double p_y) { return p_y * Math_PI / 180.0; }
-	static inline float deg2rad(float p_y) { return p_y * Math_PI / 180.0; }
-
-	static inline double rad2deg(double p_y) { return p_y * 180.0 / Math_PI; }
-	static inline float rad2deg(float p_y) { return p_y * 180.0 / Math_PI; }
-
 	static inline double absd(double g) {
 
 		union {