.
, OpenGL
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
3 , . :
(0, 4, 8), x.
(1, 5, 9) y, (3, 6, 10) z.
?.... , , , - ..... , , . ;).
OpenGL ES:
Matrix.rotateM(Settings.anchorMatrix, 0, rX, Settings.anchorMatrix[0], Settings.anchorMatrix[4], Settings.anchorMatrix[8]);
Matrix.rotateM(Settings.anchorMatrix, 0, rY, Settings.anchorMatrix[1], Settings.anchorMatrix[5], Settings.anchorMatrix[9]);
Matrix.rotateM(Settings.anchorMatrix, 0, rZ, Settings.anchorMatrix[2], Settings.anchorMatrix[6], Settings.anchorMatrix[10]);
anchorMatrix , . Android OpenGL ES .