Glenn Maynard 056b85f83e The difference between the OpenGL ortho matrix we were constructing and
the OpenGL one is only that the Z value output was [0,1], instead of [-1,+1].
(I can't find D3D docs confirming that this is what D3D wants, but the math
lines up this way.)

Instead of setting up a different matrix from scratch, use OpenGL's well-
defined ranges, and then scale and shift the Z values to the range D3D wants.
2004-10-23 17:46:08 +00:00
S
Description
554 MiB
Languages
C++ 85.7%
Lua 4.3%
C 4.3%
Rich Text Format 2.3%
CMake 1.1%
Other 2%