(float[] vecOut, float[] matA, float[] vecB)
| 17 | } |
| 18 | |
| 19 | static void multiplyMat4xVec4(float[] vecOut, float[] matA, float[] vecB) |
| 20 | { |
| 21 | vecOut[0] = matA[0] * vecB[0] + matA[4] * vecB[1] + matA[8] * vecB[2] + matA[12] * vecB[3]; |
| 22 | vecOut[1] = matA[1] * vecB[0] + matA[5] * vecB[1] + matA[9] * vecB[2] + matA[13] * vecB[3]; |
| 23 | vecOut[2] = matA[2] * vecB[0] + matA[6] * vecB[1] + matA[10] * vecB[2] + matA[14] * vecB[3]; |
| 24 | vecOut[3] = matA[3] * vecB[0] + matA[7] * vecB[1] + matA[11] * vecB[2] + matA[15] * vecB[3]; |
| 25 | } |
| 26 | |
| 27 | static void invertMat4(float[] matOut, float[] m) |
| 28 | { |
no outgoing calls
no test coverage detected