mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel - GLGizmoFlatten::PlaneData::vbo
(cherry picked from commit prusa3d/PrusaSlicer@ffa3a1d8fc)
This commit is contained in:
parent
f9de4ec399
commit
6eed22015a
4 changed files with 61 additions and 28 deletions
|
@ -2,7 +2,7 @@
|
|||
#define slic3r_GLGizmoFlatten_hpp_
|
||||
|
||||
#include "GLGizmoBase.hpp"
|
||||
#include "slic3r/GUI/3DScene.hpp"
|
||||
#include "slic3r/GUI/GLModel.hpp"
|
||||
|
||||
|
||||
namespace Slic3r {
|
||||
|
@ -22,7 +22,7 @@ private:
|
|||
|
||||
struct PlaneData {
|
||||
std::vector<Vec3d> vertices; // should be in fact local in update_planes()
|
||||
GLIndexedVertexArray vbo;
|
||||
GLModel vbo;
|
||||
Vec3d normal;
|
||||
float area;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue