diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-12-23 10:20:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 10:20:32 -0800 |
| commit | c9d0c58ffe107550835987fc37504839e9d98f05 (patch) | |
| tree | a47ce1c7de0bd2a5663a3a4dc8f2de8ec556ec90 /src/d/d_camera.cpp | |
| parent | ce895330ed994de32f55a17a3d2dc5dbbb2ccb9b (diff) | |
MSL_C header cleanup (#2988)
* msl_c header cleanup
* math header cleanup
* fix rest of shieldD configs
* cleanup cflag configs a bit
* fix shield build
Diffstat (limited to 'src/d/d_camera.cpp')
| -rw-r--r-- | src/d/d_camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_camera.cpp b/src/d/d_camera.cpp index 0b4a9ba890..b6ca10750e 100644 --- a/src/d/d_camera.cpp +++ b/src/d/d_camera.cpp @@ -3,7 +3,7 @@ #include "d/d_camera.h" #include "SSystem/SComponent/c_counter.h" #include "SSystem/SComponent/c_math.h" -#include "cmath.h" +#include <math.h> #include "d/actor/d_a_alink.h" #include "d/actor/d_a_boomerang.h" #include "d/actor/d_a_horse.h" @@ -21,7 +21,7 @@ #include "m_Do/m_Do_controller_pad.h" #include "m_Do/m_Do_graphic.h" #include "m_Do/m_Do_lib.h" -#include "math.h" +#include <math.h> namespace { @@ -2111,10 +2111,10 @@ f32 dCamera_c::radiusActorInSight(fopAc_ac_c* i_actor1, fopAc_ac_c* i_actor2, cX f32 local_12c = 1.0f; f32 local_130 = 1.0f; if (bVar2 & 5) { - local_12c = i_tanf(fVar7); + local_12c = tanf(fVar7); } if (bVar2 & 0xA) { - local_130 = i_tanf(fVar8); + local_130 = tanf(fVar8); } if (bVar2 & 1) { |
