How do I make the coordinate system in DirectX 11 relative to the top left of the screen? I've setup an orthographic projection matrix, so that I can use screen coordinates but it makes more sense to me to have a top left origin, since I come from working with OpenGl.
I setup my projection matrix like this:
ww = the width of the window
and wh = the height of the window
Related Article:Scope-guarded lockable objects in C++11
is a C++ code snippet by mike_2000_17 that has 14 replies, was last updated 10 months ago and has been tagged with the keywords: scope-guard, mutex, lock, c++, c++11, smart-pointer.