diff options
| author | Niklas Bauer <nikbau2000@gmail.com> | 2025-12-26 22:17:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-26 13:17:51 -0800 |
| commit | 67b576ad9aec15953fa0d52f33cc88e8a783b46b (patch) | |
| tree | 2e9e78e8cca507807292d9288a54babfe187cca0 /src/d/d_debug_camera.cpp | |
| parent | 229527daf71c76965ef0735abca530cee68b7358 (diff) | |
f_op debug work (#2991)
* f_op debug 1
* f_op debug 2
* f_op debug 3
* f_op debug 4
* f_op debug 5
* f_op_debug fix build
* f_op linking
* remove goto in fopac_create
* fix regressions
* fix regressions
* pr comments
Diffstat (limited to 'src/d/d_debug_camera.cpp')
| -rw-r--r-- | src/d/d_debug_camera.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/d/d_debug_camera.cpp b/src/d/d_debug_camera.cpp index 2d54283bf1..d80eb3202b 100644 --- a/src/d/d_debug_camera.cpp +++ b/src/d/d_debug_camera.cpp @@ -557,6 +557,8 @@ int dDbgCamera_c::moveTool() { field_0x44.Val(*sp30 - *var_r28); switch (field_0xc00) { + f32 temp_f26; + f32 temp_f1_2; case 2: *var_r28 = *var_r28 + (field_0x44.Norm() * mCamSetup.Turbo(field_0xc10 * var_f30)); @@ -571,8 +573,8 @@ int dDbgCamera_c::moveTool() { *var_r28 = *var_r28 - (field_0x44.Norm() * mCamSetup.Translate(field_0xc10 * var_f30)); break; case 3: { - f32 temp_f26 = fabsf(substick_x); - f32 temp_f1_2 = fabsf(substick_y); + temp_f26 = fabsf(substick_x); + temp_f1_2 = fabsf(substick_y); if (field_0xc0c == 0 || temp_f26 < temp_f1_2) { cXyz sp1B0(0.0f, 1.0f, 0.0f); |
