More GLM initialization fixes

This commit is contained in:
Alexander Bock
2020-02-10 01:18:27 +01:00
parent 24ce773da9
commit 9491f73803
59 changed files with 123 additions and 120 deletions

View File

@@ -208,7 +208,7 @@ void RenderableDebugPlane::deinitializeGL() {
}
void RenderableDebugPlane::render(const RenderData& data, RendererTasks&) {
glm::mat4 transform = glm::mat4(1.0);
glm::mat4 transform = glm::mat4(1.f);
if (_billboard) {
transform = glm::inverse(glm::mat4(data.camera.viewRotationMatrix()));
}