mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Add GLM as submodule
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user