Normand Briere
2019-08-01 29d5516687020263d3ae0454ce81879a3a450af0
Object3D.java
....@@ -7493,7 +7493,7 @@
74937493 hitSomething = hitScale;
74947494
74957495 double scale = 0.005f * clickInfo.camera.Distance();
7496
- double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32;
7496
+ double hScale = (double) (clickInfo.x - centerPt.x) / 32;
74977497 double sign = 1;
74987498 if (hScale < 0)
74997499 {
....@@ -7505,7 +7505,7 @@
75057505 //hScale = 0.01;
75067506 }
75077507
7508
- double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32;
7508
+ double vScale = (double) (clickInfo.y - centerPt.y) / 32;
75097509 sign = 1;
75107510 if (vScale < 0)
75117511 {
....@@ -7720,7 +7720,7 @@
77207720 break;
77217721
77227722 case hitScale: // scale
7723
- double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32;
7723
+ double hScale = (double) (clickInfo.x - centerPt.x) / 32;
77247724 double sign = 1;
77257725 if (hScale < 0)
77267726 {
....@@ -7732,7 +7732,7 @@
77327732 //hScale = 0.01;
77337733 }
77347734
7735
- double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32;
7735
+ double vScale = (double) (clickInfo.y - centerPt.y) / 32;
77367736 sign = 1;
77377737 if (vScale < 0)
77387738 {