(FFT) Swap around matrices arguments for matrix_4x4_multiply

This commit is contained in:
twinaphex 2017-04-22 11:15:41 +02:00
parent 9ef51d8215
commit a65675d24f

View File

@ -297,7 +297,7 @@ static void fft_render(glfft_t *fft, GLuint backbuffer, unsigned width, unsigned
MAT_ELEM_4X4(mvp_lookat, 3, 3) MAT_ELEM_4X4(mvp_lookat, 3, 3)
); );
#endif #endif
matrix_4x4_multiply(mvp, mvp_persp, mvp_lookat); matrix_4x4_multiply(mvp, mvp_lookat, mvp_persp);
#ifdef GLM_USE_DEBUG #ifdef GLM_USE_DEBUG
printf("mvp: \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n\n", printf("mvp: \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n %.2f, %.2f, %.2f, %.2f \n\n",
MAT_ELEM_4X4(mvp, 0, 0), MAT_ELEM_4X4(mvp, 0, 0),