Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Apr 9, 2018
1 parent eb1bc51 commit 6f6dd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -47464,7 +47464,7 @@ namespace cimg_library_suffixed {
pose3d.draw_image(CImg<floatT>::rotation_matrix(u,v,w,-alpha)*pose3d.get_crop(0,0,2,2));
view3d.assign();
} else if (disp.button()&2 && pose3d && oY3d!=Y3d) { // Right button: zoom.
pose3d(3,2)-=(oY3d - Y3d)*1.5f; view3d.assign();
pose3d(3,2)+=(oY3d - Y3d)*1.5f; view3d.assign();
}
if (disp.wheel()) { // Wheel: zoom
pose3d(3,2)-=disp.wheel()*15; view3d.assign(); disp.set_wheel();
Expand Down

0 comments on commit 6f6dd0d

Please sign in to comment.