|
|
@ -63,7 +63,7 @@ void update_line_data(const UIState *s, const cereal::ModelDataV2::XYZTData::Rea |
|
|
|
right_points.reserve(max_idx + 1); |
|
|
|
right_points.reserve(max_idx + 1); |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i <= max_idx; i++) { |
|
|
|
for (int i = 0; i <= max_idx; i++) { |
|
|
|
// highly negative x positions cause flickering, clip to zy plane of camera
|
|
|
|
// highly negative x positions are drawn above the frame and cause flickering, clip to zy plane of camera
|
|
|
|
if (line_x[i] < 0) continue; |
|
|
|
if (line_x[i] < 0) continue; |
|
|
|
QPointF left, right; |
|
|
|
QPointF left, right; |
|
|
|
bool l = calib_frame_to_full_frame(s, line_x[i], line_y[i] - y_off, line_z[i] + z_off, &left); |
|
|
|
bool l = calib_frame_to_full_frame(s, line_x[i], line_y[i] - y_off, line_z[i] + z_off, &left); |
|
|
|