Skip to content

Commit

Permalink
PR IntelRealSense#10522 from YoniChechi: bugfix - next_pixel_in_line
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az authored Sep 18, 2022
2 parents bf48dfd + 60d6b13 commit 8ddebea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3720,7 +3720,7 @@ void next_pixel_in_line(float curr[2], const float start[2], const float end[2])
else
{
curr[1] = end[1] > curr[1] ? curr[1] + 1 : curr[1] - 1;
curr[0] = end[0] - ((end[1] + curr[1]) / line_slope);
curr[0] = end[0] - ((end[1] - curr[1]) / line_slope);
}
}

Expand Down

0 comments on commit 8ddebea

Please sign in to comment.