From fb80bff1f6e74d47c5fb728c7edb9cdc470d5741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Tschumperl=C3=A9?= Date: Thu, 21 Jun 2018 16:27:33 +0200 Subject: [PATCH] . --- src/main/cpp/CImg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cpp/CImg.h b/src/main/cpp/CImg.h index 788f4c1..3b65685 100644 --- a/src/main/cpp/CImg.h +++ b/src/main/cpp/CImg.h @@ -47489,7 +47489,7 @@ namespace cimg_library_suffixed { pose3d.draw_image(CImg::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)+=(Y3d - oY3d)*1.5f; view3d.assign(); } if (disp.wheel()) { // Wheel: zoom pose3d(3,2)-=disp.wheel()*15; view3d.assign(); disp.set_wheel();