I setup my projection matrix like this:
ww = the width of the window
and wh = the height of the window
projection = XMMatrixIdentity (); projection = XMMatrixOrthographicLH (ww, wh, -1, 1);
Edited by Lyev, 31 May 2012 - 09:50 AM.
Posted 31 May 2012 - 09:37 AM
projection = XMMatrixIdentity (); projection = XMMatrixOrthographicLH (ww, wh, -1, 1);
Edited by Lyev, 31 May 2012 - 09:50 AM.
Posted 31 May 2012 - 11:16 AM
2 0 0 0 0 -2 0 0 0 0 1 0 -1 1 0 1If you use matrix*vector, transpose the above matrix.
Posted 31 May 2012 - 11:37 AM
Edited by mhagain, 31 May 2012 - 11:41 AM.
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.