summaryrefslogtreecommitdiffstats
path: root/include/core/CameraMatrix.hpp
diff options
context:
space:
mode:
authorHrishikesh <hrishikeshpramodnair@gmail.com>2021-02-03 18:55:39 +0530
committerHrishikesh <hrishikeshpramodnair@gmail.com>2021-02-03 18:55:39 +0530
commit09df1fc9b58f886d3ed0d781d3d0f069c2b6b1a8 (patch)
tree498339ad007766de1db541ce4cf9bf2a3bde3e12 /include/core/CameraMatrix.hpp
parent8558d2360a16e5ee4dcfd9813617f309a4fbb9e7 (diff)
downloadredot-cpp-09df1fc9b58f886d3ed0d781d3d0f069c2b6b1a8.tar.gz
Removed the redundant functions in CameraMatrix.hpp
Diffstat (limited to 'include/core/CameraMatrix.hpp')
-rw-r--r--include/core/CameraMatrix.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/core/CameraMatrix.hpp b/include/core/CameraMatrix.hpp
index a644b65..dc6b727 100644
--- a/include/core/CameraMatrix.hpp
+++ b/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 {