Removed the redundant functions in CameraMatrix.hpp
parent
8558d2360a
commit
09df1fc9b5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue