Search found 1 match

by zucka
Tue Dec 08, 2009 3:57 pm
Forum: Bug reports
Topic: buildProjectionMatrixOrthoRH() is correct?
Replies: 2
Views: 917

I met same trouble by buildProjectionMatrixOrthoRH(). You should change W[15]. void restoreCameraOrtho(f32 width, f32 height) { // cameraOrtho - Restore orthogonal matrix core::matrix4 matprj; matprj.buildProjectionMatrixOrthoRH( width, height, 1.0f, 3000.0f); //M[15] change . matprj(3,3) = 1; camer...