Normand Briere
2019-08-17 5892f05411c3d4dce2d8a59e0966dc2e1843a971
Camera.java
....@@ -20,7 +20,7 @@
2020 //<-2.2,0.7,-2> and pointed it at <-0.61,0.3,-0.6>
2121 // location = LA.newVector(2,0.7,-2);
2222 // lookAt = new cVector(0.6,0.3,-0.6);
23
- location = LA.newVector(6,4,4);
23
+ location = LA.newVector(6,2,4);
2424 lookAt = new cVector(0.0,0.5,0);
2525 direction = new cVector();
2626 toParent = LA.newMatrix();
....@@ -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(-10, 30, 20);
7575 perspective = false;
7676 break;
7777 }
....@@ -319,7 +319,7 @@
319319 location.set(lookAt);
320320 lookAt.set(cStatic.point1);
321321
322
- computeTransform();
322
+ //computeTransform();
323323 }
324324
325325 //synchronized // june 2014