16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 10:29:19 +02:00

reverse Z fixes

This commit is contained in:
milek7
2018-07-24 18:57:38 +02:00
parent 1aed27ad1f
commit 17ad436976
3 changed files with 29 additions and 23 deletions

View File

@@ -349,6 +349,7 @@ class opengl_renderer
glm::mat4 perspective_projection(float fov, float aspect, float z_near, float z_far);
glm::mat4 perpsective_frustumtest_projection(float fov, float aspect, float z_near, float z_far);
glm::mat4 ortho_projection(float left, float right, float bottom, float top, float z_near, float z_far);
glm::mat4 ortho_frustumtest_projection(float left, float right, float bottom, float top, float z_near, float z_far);
std::unique_ptr<gl::shader> m_vertex_shader;