Removed immediate OpenGL mode calls in place on face gizmo

This commit is contained in:
Lukas Matena 2020-05-21 09:45:10 +02:00
parent 6e597bb1ee
commit 9c365da828
2 changed files with 27 additions and 21 deletions

View file

@ -16,7 +16,8 @@ private:
mutable Vec3d m_normal;
struct PlaneData {
std::vector<Vec3d> vertices;
std::vector<Vec3d> vertices; // should be in fact local in update_planes()
GLIndexedVertexArray vbo;
Vec3d normal;
float area;
};