.. | .. |
---|
11 | 11 | /*static*/ float DECAL = 12; // 3; |
---|
12 | 12 | /*static*/ float SCALE = 1; // 0.5f; |
---|
13 | 13 | |
---|
14 | | - float shaper_fovy = 60.0f; |
---|
| 14 | + float shaper_fovy = 25.0f; |
---|
15 | 15 | float shaper_zNear = 0.01f; |
---|
16 | 16 | float shaper_zFar = 1E5f; // 500.0f; |
---|
17 | 17 | |
---|
.. | .. |
---|
21 | 21 | //<-2.2,0.7,-2> and pointed it at <-0.61,0.3,-0.6> |
---|
22 | 22 | // location = LA.newVector(2,0.7,-2); |
---|
23 | 23 | // lookAt = new cVector(0.6,0.3,-0.6); |
---|
24 | | - location = LA.newVector(2,0.7,2); |
---|
25 | | - lookAt = new cVector(0.0,0.3,0); |
---|
| 24 | + location = LA.newVector(3,2,2); |
---|
| 25 | + lookAt = new cVector(0.0,0.5,0); |
---|
26 | 26 | direction = new cVector(); |
---|
27 | 27 | toParent = LA.newMatrix(); |
---|
28 | 28 | fromParent = LA.newMatrix(); |
---|
.. | .. |
---|
392 | 392 | if (CameraPane.ROTATECAMERA) |
---|
393 | 393 | { |
---|
394 | 394 | double[][] rotate = { { 0,1,0,0 }, { -1,0,0,0}, { 0,0,1,0}, { 0,0,0,1 } }; |
---|
395 | | - double[][] rotate_1 = { { 0,-1,0,0 }, { 1,0,0,0}, { 0,0,1,0}, { 0,0,0,1 } }; |
---|
| 395 | + //double[][] rotate_1 = { { 0,-1,0,0 }, { 1,0,0,0}, { 0,0,1,0}, { 0,0,0,1 } }; |
---|
396 | 396 | |
---|
397 | | - LA.matConcat(rotate, fromScreen, fromScreen); |
---|
398 | | - LA.matConcat(toScreen, rotate_1, toScreen); |
---|
| 397 | + LA.matConcat(fromScreen, rotate, fromScreen); |
---|
| 398 | + //LA.matConcat(toScreen, rotate_1, toScreen); |
---|
399 | 399 | } |
---|
400 | 400 | //if (this == CameraPane.lightCamera) |
---|
401 | 401 | //CameraPane.lighttouched = true; |
---|
| 402 | + |
---|
| 403 | + LA.matInvert(fromScreen, toScreen); |
---|
402 | 404 | } |
---|
403 | 405 | |
---|
404 | 406 | // void Draw(CameraPane display, Object3D /*Composite*/ root, boolean selected) |
---|