Normand Briere
2019-06-16 372b7fd481a476cd659713a4a01bf28bf6760cbe
Object3D.java
....@@ -7102,7 +7102,7 @@
71027102 spot.translate(32, 32);
71037103 spotw = spot.x + spot.width;
71047104 spoth = spot.y + spot.height;
7105
- info.g.setColor(Color.blue);
7105
+ info.g.setColor(Color.cyan);
71067106 info.g.fillRect(spot.x, spot.y, spot.width, spot.height);
71077107 // if (CameraPane.Xmin > spot.x)
71087108 // {
....@@ -7120,11 +7120,12 @@
71207120 // {
71217121 // CameraPane.Ymax = spoth;
71227122 // }
7123
- // bonhommes info.g.drawLine(spotw, spoth, spotw, spoth - 15);
7124
- //info.g.drawLine(spotw, spoth, spotw - 15, spoth);
7123
+ // bonhommes info.g.drawLine(spotw, spoth, spotw, spoth - boundary.height/2); // 15
7124
+ //info.g.drawLine(spotw, spoth, spotw - boundary.width/2, spoth); // 15
71257125 spot.translate(0, -32);
7126
- info.g.setColor(Color.green);
7126
+ info.g.setColor(Color.yellow);
71277127 info.g.fillRect(spot.x, spot.y, spot.width, spot.height);
7128
+ info.g.setColor(Color.green);
71287129 // if (CameraPane.Xmin > spot.x)
71297130 // {
71307131 // CameraPane.Xmin = spot.x;
....@@ -7442,19 +7443,19 @@
74427443 switch (info.pane.RenderCamera().viewCode)
74437444 {
74447445 case 3: // '\001'
7445
- if (modified)
7446
+ if (modified || opposite)
74467447 {
74477448 //LA.matScale(toParent, 1, hScale, vScale);
74487449 LA.matScale(toParent, totalScale, 1, 1);
74497450 } // vScale, 1);
74507451 else
74517452 {
7452
- LA.matScale(toParent, totalScale, totalScale, totalScale);
7453
+ LA.matScale(toParent, 1, totalScale, totalScale);
74537454 } // vScale, 1);
74547455 break;
74557456
74567457 case 2: // '\002'
7457
- if (modified)
7458
+ if (modified || opposite)
74587459 {
74597460 //LA.matScale(toParent, hScale, 1, vScale);
74607461 LA.matScale(toParent, 1, totalScale, 1);
....@@ -7465,7 +7466,7 @@
74657466 break;
74667467
74677468 case 1: // '\003'
7468
- if (modified)
7469
+ if (modified || opposite)
74697470 {
74707471 //LA.matScale(toParent, hScale, vScale, 1);
74717472 LA.matScale(toParent, 1, 1, totalScale);