Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo

This commit is contained in:
enricoturri1966 2022-06-13 13:09:24 +02:00
parent 36ec839767
commit df47ba7122
27 changed files with 330 additions and 74 deletions

View file

@ -269,11 +269,13 @@ void GLGizmoCut::on_render()
#endif // !ENABLE_GL_CORE_PROFILE
}
void GLGizmoCut::on_render_for_picking()
#if !ENABLE_RAYCAST_PICKING
void GLGizmoCut::on_render_for_picking()
{
glsafe(::glDisable(GL_DEPTH_TEST));
render_grabbers_for_picking(m_parent.get_selection().get_bounding_box());
}
#endif // !ENABLE_RAYCAST_PICKING
void GLGizmoCut::on_render_input_window(float x, float y, float bottom_limit)
{