.. | .. |
---|
20 | 20 | //<-2.2,0.7,-2> and pointed it at <-0.61,0.3,-0.6> |
---|
21 | 21 | // location = LA.newVector(2,0.7,-2); |
---|
22 | 22 | // lookAt = new cVector(0.6,0.3,-0.6); |
---|
23 | | - location = LA.newVector(6,4,4); |
---|
| 23 | + location = LA.newVector(6,2,4); |
---|
24 | 24 | lookAt = new cVector(0.0,0.5,0); |
---|
25 | 25 | direction = new cVector(); |
---|
26 | 26 | toParent = LA.newMatrix(); |
---|
.. | .. |
---|
52 | 52 | perspective = true; |
---|
53 | 53 | break; |
---|
54 | 54 | case 1: // '\001' |
---|
55 | | - location = LA.newVector(0, 0, 4); |
---|
| 55 | + location = LA.newVector(4, 0, 0); |
---|
56 | 56 | perspective = false; |
---|
57 | 57 | break; |
---|
58 | 58 | case 2: // '\002' |
---|
.. | .. |
---|
63 | 63 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
64 | 64 | break; |
---|
65 | 65 | case 3: // '\003' |
---|
66 | | - location = LA.newVector(4, 0, 0); |
---|
| 66 | + location = LA.newVector(0, 0, 4); |
---|
67 | 67 | //LA.matZRotate(toScreen, LA.toRadians(-90)); |
---|
68 | 68 | //LA.matXRotate(toScreen, LA.toRadians(-90)); |
---|
69 | 69 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
.. | .. |
---|
71 | 71 | perspective = false; |
---|
72 | 72 | break; |
---|
73 | 73 | case 4: // Default light |
---|
74 | | - location = LA.newVector(10, 30, 20); |
---|
| 74 | + location = LA.newVector(-10, 30, 20); |
---|
75 | 75 | perspective = false; |
---|
76 | 76 | break; |
---|
77 | 77 | } |
---|
.. | .. |
---|
319 | 319 | location.set(lookAt); |
---|
320 | 320 | lookAt.set(cStatic.point1); |
---|
321 | 321 | |
---|
322 | | - computeTransform(); |
---|
| 322 | + //computeTransform(); |
---|
323 | 323 | } |
---|
324 | 324 | |
---|
325 | 325 | //synchronized // june 2014 |
---|