pref: 格式优化

This commit is contained in:
bmy
2024-03-10 19:47:21 +08:00
parent 0ab683ba60
commit c1e2b75aa5
6 changed files with 40 additions and 43 deletions

View File

@@ -195,7 +195,7 @@ void cross_farline(){
float conf = fabs(far_angle_left[i]) - (fabs(far_angle_left[im1]) + fabs(far_angle_left[ip1])) / 2;
//L角点阈值
if (far_Lpt0_found == false && (66. / 180. * PI) < conf && conf < (140. / 180. * PI) && i < 0.7 / RESAMPLEDIST) {
if (far_Lpt0_found == false && (66. / 180. * PI32) < conf && conf < (140. / 180. * PI32) && i < 0.7 / RESAMPLEDIST) {
far_Lpt0_rpts0s_id = i;
far_Lpt0_found = true;
}
@@ -209,7 +209,7 @@ void cross_farline(){
float conf = fabs(far_angle_right[i]) - (fabs(far_angle_right[im1]) + fabs(far_angle_right[ip1])) / 2;
if (far_Lpt1_found == false && (66. / 180. * PI) < conf && conf < 140. / 180. * PI && i < 0.7 / RESAMPLEDIST) {
if (far_Lpt1_found == false && (66. / 180. * PI32) < conf && conf < 140. / 180. * PI32 && i < 0.7 / RESAMPLEDIST) {
far_Lpt1_rpts1s_id = i;
far_Lpt1_found = true;
}