.. | .. |
---|
7693 | 7693 | |
---|
7694 | 7694 | if (renderCamera != lightCamera) |
---|
7695 | 7695 | for (int count = parentcam.GetTransformCount(); --count>=0;) |
---|
7696 | | - LA.matConcat(parentcam.toParent, matrix, matrix); |
---|
| 7696 | + LA.matConcat(matrix, parentcam.toParent, matrix); |
---|
7697 | 7697 | |
---|
7698 | 7698 | // LA.matConcat(renderCamera.toScreen, renderCamera.toParent, matrix); |
---|
7699 | 7699 | |
---|
.. | .. |
---|
7709 | 7709 | |
---|
7710 | 7710 | if (renderCamera != lightCamera) |
---|
7711 | 7711 | for (int count = parentcam.GetTransformCount(); --count>=0;) |
---|
7712 | | - LA.matConcat(matrix, parentcam.fromParent, matrix); |
---|
| 7712 | + LA.matConcat(parentcam.fromParent, matrix, matrix); |
---|
7713 | 7713 | |
---|
7714 | 7714 | // LA.matConcat(renderCamera.fromParent, renderCamera.fromScreen, matrix); |
---|
7715 | 7715 | |
---|
.. | .. |
---|
8915 | 8915 | // if (parentcam != renderCamera) // not a light |
---|
8916 | 8916 | if (cam != lightCamera) |
---|
8917 | 8917 | for (int count = parentcam.GetTransformCount(); --count>=0;) |
---|
8918 | | - LA.matConcat(parentcam.toParent, matrix, matrix); |
---|
| 8918 | + LA.matConcat(matrix, parentcam.toParent, matrix); |
---|
8919 | 8919 | |
---|
8920 | 8920 | for (int j = 0; j < 4; j++) |
---|
8921 | 8921 | { |
---|
.. | .. |
---|
8930 | 8930 | // if (parentcam != renderCamera) // not a light |
---|
8931 | 8931 | if (cam != lightCamera) |
---|
8932 | 8932 | for (int count = parentcam.GetTransformCount(); --count>=0;) |
---|
8933 | | - LA.matConcat(matrix, parentcam.fromParent, matrix); |
---|
| 8933 | + LA.matConcat(parentcam.fromParent, matrix, matrix); |
---|
8934 | 8934 | |
---|
8935 | 8935 | //LA.matConcat(cam.fromScreen, parentcam.fromParent, matrix); |
---|
8936 | 8936 | |
---|
.. | .. |
---|
9754 | 9754 | selectedpoint.radius = radius; |
---|
9755 | 9755 | selectedpoint.recalculate(); |
---|
9756 | 9756 | selectedpoint.material = new cMaterial(); |
---|
9757 | | - selectedpoint.material.color = 0.25f; |
---|
| 9757 | + selectedpoint.material.color = 0.15f; |
---|
9758 | 9758 | selectedpoint.material.modulation = 0.75f; |
---|
9759 | 9759 | |
---|
9760 | 9760 | debugpoint.radius = radius; |
---|