Search found 1 match
- Tue Nov 03, 2009 7:39 pm
- Forum: Bug reports
- Topic: buildProjectionMatrixOrthoRH() is correct?
- Replies: 2
- Views: 937
buildProjectionMatrixOrthoRH() is correct?
Hi. I'm using irr::core::CMatrix4<T>::buildProjectionMatrixOrtho(). void restoreCameraOrtho(f32 width, f32 height) { // cameraOrtho - Restore orthogonal matrix core::matrix4 matprj; matprj.buildProjectionMatrixOrthoRH( width, height, 1.0f, 3000.0f); cameraOrtho->setProjectionMatrix(matprj, true); } ...