Finalized user interface for Transition View. Cleanup DrawVisitor was

needed. New ImGuiToolkit functions implemented.
This commit is contained in:
brunoherbelin
2020-07-08 22:28:36 +02:00
parent ac631122e5
commit cfac7107b6
19 changed files with 173 additions and 130 deletions

View File

@@ -132,9 +132,10 @@ public:
// get projection matrix (for sharers) => Views
glm::mat4 Projection();
// unproject from window coordinate
// unproject from window coordinate to scene
glm::vec3 unProject(glm::vec2 screen_coordinate, glm::mat4 modelview = glm::mat4(1.f));
// project from scene coordinate to window
glm::vec2 project(glm::vec3 scene_coordinate, glm::mat4 modelview = glm::mat4(1.f));
private: