Skip to content

Commit

Permalink
Fix wrong optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 5, 2024
1 parent 13cb9cb commit e057281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void vpPanda3DGeometryRenderer::getRender(vpImage<vpRGBf> &normals, vpImage<floa
#endif
for (int j = 0; j < image_width; ++j) {
int left_j = left + j;
int j_4 = j + 4;
int j_4 = j * 4;
normalRow[left_j].R = (rowData[j_4]);
normalRow[left_j].G = (rowData[j_4 + 1]);
normalRow[left_j].B = (rowData[j_4 + 2]);
Expand Down

0 comments on commit e057281

Please sign in to comment.