diff options
Diffstat (limited to 'src/d/d_cam_param.cpp')
| -rw-r--r-- | src/d/d_cam_param.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |
