Removed the redundant functions in CameraMatrix.hpp

pull/504/head
Hrishikesh 2021-02-03 18:55:39 +05:30
parent 8558d2360a
commit 09df1fc9b5
1 changed files with 0 additions and 6 deletions

View File

@ -43,12 +43,6 @@ struct CameraMatrix {
return Math::rad2deg(atan(p_aspect * tan(Math::deg2rad(p_fovx) * 0.5)) * 2.0); 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) { static inline double absd(double g) {
union { union {