| 1750 | // Left, Right, Bottom, and Top specify the coordinates of their respective clipping planes. |
| 1751 | // Near and Far specify the distances to the near and far clipping planes. |
| 1752 | static inline HMM_Mat4 HMM_Orthographic_LH_NO(float Left, float Right, float Bottom, float Top, float Near, float Far) |
| 1753 | { |
| 1754 | ASSERT_COVERED(HMM_Orthographic_LH_NO); |
| 1755 | |
| 1756 | HMM_Mat4 Result = HMM_Orthographic_RH_NO(Left, Right, Bottom, Top, Near, Far); |
| 1757 | Result.Elements[2][2] = -Result.Elements[2][2]; |
| 1758 | |
| 1759 | return Result; |
| 1760 | } |
| 1761 | |
| 1762 | COVERAGE(HMM_Orthographic_LH_ZO, 1) |
| 1763 | // Produces a left-handed orthographic projection matrix with Z ranging from 0 to 1 (the DirectX convention). |
no test coverage detected