Normand Briere
2019-08-23 60cec91731a350fe67e9b5ffe7a00d70e9026314
Camera.java
....@@ -52,7 +52,7 @@
5252 perspective = true;
5353 break;
5454 case 1: // '\001'
55
- location = LA.newVector(0, 0, 4);
55
+ location = LA.newVector(4, 0, 0);
5656 perspective = false;
5757 break;
5858 case 2: // '\002'
....@@ -63,7 +63,7 @@
6363 //LA.matXRotate(fromScreen, LA.toRadians(90));
6464 break;
6565 case 3: // '\003'
66
- location = LA.newVector(4, 0, 0);
66
+ location = LA.newVector(0, 0, 4);
6767 //LA.matZRotate(toScreen, LA.toRadians(-90));
6868 //LA.matXRotate(toScreen, LA.toRadians(-90));
6969 //LA.matXRotate(fromScreen, LA.toRadians(90));
....@@ -71,7 +71,7 @@
7171 perspective = false;
7272 break;
7373 case 4: // Default light
74
- location = LA.newVector(-10, 30, 20);
74
+ location = LA.newVector(-5, 15, 10);
7575 perspective = false;
7676 break;
7777 }
....@@ -106,6 +106,14 @@
106106 background = LA.newVector(0.8, 0.8, 0.8);
107107 }
108108
109
+ void CreateMaterial(boolean multiply)
110
+ {
111
+ super.CreateMaterial(multiply);
112
+
113
+ material.shift = 90;
114
+ material.cameralight = 0.2f;
115
+ }
116
+
109117 void setAspect(int width, int height)
110118 {
111119 //hAspect = width;