Normand Briere
2018-07-03 02e145cb923d601395acc7f15ae9e13f85ef2fbb
CameraPane.java
....@@ -7693,7 +7693,7 @@
76937693
76947694 if (renderCamera != lightCamera)
76957695 for (int count = parentcam.GetTransformCount(); --count>=0;)
7696
- LA.matConcat(parentcam.toParent, matrix, matrix);
7696
+ LA.matConcat(matrix, parentcam.toParent, matrix);
76977697
76987698 // LA.matConcat(renderCamera.toScreen, renderCamera.toParent, matrix);
76997699
....@@ -7709,7 +7709,7 @@
77097709
77107710 if (renderCamera != lightCamera)
77117711 for (int count = parentcam.GetTransformCount(); --count>=0;)
7712
- LA.matConcat(matrix, parentcam.fromParent, matrix);
7712
+ LA.matConcat(parentcam.fromParent, matrix, matrix);
77137713
77147714 // LA.matConcat(renderCamera.fromParent, renderCamera.fromScreen, matrix);
77157715
....@@ -8915,7 +8915,7 @@
89158915 // if (parentcam != renderCamera) // not a light
89168916 if (cam != lightCamera)
89178917 for (int count = parentcam.GetTransformCount(); --count>=0;)
8918
- LA.matConcat(parentcam.toParent, matrix, matrix);
8918
+ LA.matConcat(matrix, parentcam.toParent, matrix);
89198919
89208920 for (int j = 0; j < 4; j++)
89218921 {
....@@ -8930,7 +8930,7 @@
89308930 // if (parentcam != renderCamera) // not a light
89318931 if (cam != lightCamera)
89328932 for (int count = parentcam.GetTransformCount(); --count>=0;)
8933
- LA.matConcat(matrix, parentcam.fromParent, matrix);
8933
+ LA.matConcat(parentcam.fromParent, matrix, matrix);
89348934
89358935 //LA.matConcat(cam.fromScreen, parentcam.fromParent, matrix);
89368936