16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 05:39:18 +02:00

don't update rain during pause

This commit is contained in:
milek7
2018-10-18 22:46:51 +02:00
parent 1761f0b367
commit e3cfa2acbe
3 changed files with 11 additions and 4 deletions

View File

@@ -330,6 +330,8 @@ class opengl_renderer
GLuint m_gltimequery = 0;
GLuint64 m_gllasttime = 0;
double m_precipitationrotation;
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);