.. | .. |
---|
11379 | 11379 | |
---|
11380 | 11380 | // if (cam != lightCamera) |
---|
11381 | 11381 | //for (int count = parentcam.GetTransformCount(); --count>=0;) |
---|
11382 | | - LA.xformDir(lightposition, parentcam.GlobalTransform(), lightposition); // may 2013 |
---|
| 11382 | + LA.xformDir(lightposition, parentcam.GlobalTransformInv(), lightposition); // may 2013 |
---|
11383 | 11383 | } |
---|
11384 | 11384 | |
---|
11385 | 11385 | LA.xformDir(lightposition, cam.toScreen, lightposition); |
---|
.. | .. |
---|
14632 | 14632 | MODIFIERS |= COMMAND; |
---|
14633 | 14633 | /**/ |
---|
14634 | 14634 | if((mod&SHIFT) == SHIFT) |
---|
14635 | | - manipCamera.RotatePosition(0, -speed); |
---|
14636 | | - else |
---|
14637 | 14635 | manipCamera.BackForth(0, -speed*delta, 0); // getWidth()); |
---|
| 14636 | + else |
---|
| 14637 | + manipCamera.RotatePosition(0, -speed); |
---|
14638 | 14638 | /**/ |
---|
14639 | 14639 | if ((mod & SHIFT) == SHIFT) |
---|
14640 | 14640 | { |
---|
.. | .. |
---|
14653 | 14653 | MODIFIERS |= COMMAND; |
---|
14654 | 14654 | /**/ |
---|
14655 | 14655 | if((mod&SHIFT) == SHIFT) |
---|
14656 | | - manipCamera.RotatePosition(0, speed); |
---|
14657 | | - else |
---|
14658 | 14656 | manipCamera.BackForth(0, speed*delta, 0); // getWidth()); |
---|
| 14657 | + else |
---|
| 14658 | + manipCamera.RotatePosition(0, speed); |
---|
14659 | 14659 | /**/ |
---|
14660 | 14660 | if ((mod & SHIFT) == SHIFT) |
---|
14661 | 14661 | { |
---|