Fixed rendering of gizmo grabbers

This commit is contained in:
Lukas Matena
2021-05-28 15:44:39 +02:00
parent e1d5d0804b
commit 8c560522a3
4 changed files with 28 additions and 12 deletions

View File

@@ -48,7 +48,6 @@ protected:
static const float MinHalfSize;
static const float DraggingScaleFactor;
GLModel cube;
Vec3d center;
Vec3d angles;
std::array<float, 4> color;
@@ -65,6 +64,9 @@ protected:
private:
void render(float size, const std::array<float, 4>& render_color, bool picking) const;
GLModel cube;
bool cube_initialized = false;
};
public: