From fa7d4d28965733a680d5d7e00a10485c66a246df Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 24 Apr 2025 14:53:58 -0400 Subject: Fix relocation and data value mismatches --- src/d/d_cam_param.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/d/d_cam_param.cpp') diff --git a/src/d/d_cam_param.cpp b/src/d/d_cam_param.cpp index 4929fa35..72cd8337 100644 --- a/src/d/d_cam_param.cpp +++ b/src/d/d_cam_param.cpp @@ -15,8 +15,7 @@ f32 dCamMath::rationalBezierRatio(f32 x, f32 y) { /* 800AF4F4-800AF544 .text customRBRatio__8dCamMathFff */ f32 dCamMath::customRBRatio(f32 x, f32 y) { - /* Nonmatching */ - if (x > 0.7071068f) { + if (x > 0.70710677f) { if (x < 0.0f) { return -1.0f; } else { @@ -24,7 +23,7 @@ f32 dCamMath::customRBRatio(f32 x, f32 y) { } } - return rationalBezierRatio(x * 1.414214f, y); + return rationalBezierRatio(x * 1.4142135f, y); } /* 800AF544-800AF5A0 .text zoomFovy__8dCamMathFff */ -- cgit v1.2.3