Add GLM as submodule

This commit is contained in:
brunoherbelin
2020-04-13 21:53:19 +02:00
parent da7cd9afd9
commit fa0f4c8fc4
8 changed files with 19 additions and 18 deletions

View File

@@ -170,7 +170,7 @@ void UserInterface::handleMouse()
Log::Info("Mouse press (%.1f,%.1f)", io.MousePos.x, io.MousePos.y);
glm::mat4 mv = glm::mat4(1.f);
glm::mat4 mv = glm::identity<glm::mat4>();
glm::vec3 point = Rendering::manager().unProject(glm::vec2(io.MousePos.x, io.MousePos.y), mv);
Log::Info(" (%.1f,%.1f)", point.x, point.y);