Experiment with spherical cursor (painting gizmos)

This commit is contained in:
Lukas Matena committed 2020-09-30 17:34:11 +02:00
1 parent 8bf0f75e83
commit c696e6ec19
2 files changed
+7 -3

No files matched your search

@@ -119,6 +119,8 @@ void GLGizmoPainterBase::render_triangles(const Selection& selection) const
void GLGizmoPainterBase::render_cursor_circle() const
{
return;
const Camera& camera = wxGetApp().plater()->get_camera();
float zoom = (float)camera.get_zoom();
float inv_zoom = (zoom != 0.0f) ? 1.0f / zoom : 0.0f;