TriangleSelector: edge limit is derived from cursor size

This commit is contained in:
Lukas Matena 2020-07-24 17:45:49 +02:00
parent 74a1aeff8e
commit 7ddb64783b
4 changed files with 13 additions and 6 deletions

View file

@ -56,7 +56,7 @@ private:
GLUquadricObj* m_quadric;
float m_cursor_radius = 2.f;
static constexpr float CursorRadiusMin = 0.f;
static constexpr float CursorRadiusMin = 0.4f; // cannot be zero
static constexpr float CursorRadiusMax = 8.f;
static constexpr float CursorRadiusStep = 0.2f;