Normand Briere
2019-08-17 d5d6485126da83b06645e90e3e4ce66659a56009
Camera.java
....@@ -3,7 +3,6 @@
33 // Decompiler options: packimports(3)
44 // Source File Name: Camera.java
55
6
-
76 class Camera extends Object3D
87 {
98 static final long serialVersionUID = 4754289789178680517L;
....@@ -21,7 +20,7 @@
2120 //<-2.2,0.7,-2> and pointed it at <-0.61,0.3,-0.6>
2221 // location = LA.newVector(2,0.7,-2);
2322 // lookAt = new cVector(0.6,0.3,-0.6);
24
- location = LA.newVector(3,2,2);
23
+ location = LA.newVector(6,2,4);
2524 lookAt = new cVector(0.0,0.5,0);
2625 direction = new cVector();
2726 toParent = LA.newMatrix();
....@@ -72,7 +71,7 @@
7271 perspective = false;
7372 break;
7473 case 4: // Default light
75
- location = LA.newVector(10, 30, 20);
74
+ location = LA.newVector(-10, 30, 20);
7675 perspective = false;
7776 break;
7877 }
....@@ -320,7 +319,7 @@
320319 location.set(lookAt);
321320 lookAt.set(cStatic.point1);
322321
323
- computeTransform();
322
+ //computeTransform();
324323 }
325324
326325 //synchronized // june 2014