Glm backward compatibility gtc extension

This commit is contained in:
brunoherbelin
2020-04-13 20:24:46 +02:00
parent c4c48a84b2
commit 1e9c8c013d
6 changed files with 15 additions and 15 deletions

View File

@@ -210,8 +210,8 @@ void Shader::use()
void Shader::reset()
{
projection = glm::identity<glm::mat4>();
modelview = glm::identity<glm::mat4>();
projection = glm::mat4(1.f);
modelview = glm::mat4(1.f);
resolution = glm::vec3(1280.f, 720.f, 0.f);
color = glm::vec4(1.f, 1.f, 1.f, 1.f);
}