diff options
| author | roeming <brother64youyou@gmail.com> | 2026-01-10 16:38:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-10 23:38:04 +0200 |
| commit | 562f4d0d650a0516272de407d18891b86dddf7ad (patch) | |
| tree | 262057c976d891bd52d7bf48a7d4e0b2641b7542 /src/m_Do | |
| parent | 2d4a8ee46a04ad49313f35c9062f8194de36deb2 (diff) | |
first round of constants cleanup (#3021)
* first round of constants cleanup
* move m_PI_D definition
* remove compatibility comment
* add future version of angle subtracting with/without cast
* whitespace change to run builds again
Diffstat (limited to 'src/m_Do')
| -rw-r--r-- | src/m_Do/m_Do_lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_Do/m_Do_lib.cpp b/src/m_Do/m_Do_lib.cpp index fb592da49f..9b68a1a1c3 100644 --- a/src/m_Do/m_Do_lib.cpp +++ b/src/m_Do/m_Do_lib.cpp @@ -46,7 +46,7 @@ void mDoLib_clipper::setup(f32 fovy, f32 aspect, f32 near, f32 far) { mSystemFar = far; mClipper.calcViewFrustum(); - s16 tmp = fovy * 182.04444885253906f; + s16 tmp = DEG2S(fovy); mFovyRate = cM_scos(tmp) / cM_ssin(tmp); } |
