Debug tech ENABLE_GLMODEL_STATISTICS - Shows an imgui dialog with GLModel statistics data
This commit is contained in:
parent
9d2314557d
commit
3dddfa919a
5 changed files with 136 additions and 2 deletions
|
@ -182,8 +182,7 @@ void GLGizmoRotate::on_render()
|
|||
|
||||
#if ENABLE_GL_SHADERS_ATTRIBUTES
|
||||
const Camera& camera = wxGetApp().plater()->get_camera();
|
||||
Transform3d view_model_matrix = camera.get_view_matrix() * m_grabbers.front().matrix;
|
||||
|
||||
const Transform3d view_model_matrix = camera.get_view_matrix() * m_grabbers.front().matrix;
|
||||
shader->set_uniform("view_model_matrix", view_model_matrix);
|
||||
shader->set_uniform("projection_matrix", camera.get_projection_matrix());
|
||||
#endif // ENABLE_GL_SHADERS_ATTRIBUTES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue