mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Tech ENABLE_GL_SHADERS_ATTRIBUTES - Use shader's vertex attributes and matrices in GLMmSegmentationGizmo3DScene
(cherry picked from commit prusa3d/PrusaSlicer@4eee0d05f3)
This commit is contained in:
parent
15bad7fc19
commit
63272a9df8
3 changed files with 32 additions and 55 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
virtual ~TriangleSelectorGUI() = default;
|
||||
|
||||
virtual void render(ImGuiWrapper* imgui, const Transform3d& matrix);
|
||||
void render(const Transform3d& matrix) { this->render(nullptr, matrix); }
|
||||
//void render(const Transform3d& matrix) { this->render(nullptr, matrix); }
|
||||
void set_wireframe_needed(bool need_wireframe) { m_need_wireframe = need_wireframe; }
|
||||
bool get_wireframe_needed() { return m_need_wireframe; }
|
||||
|
||||
|
@ -170,7 +170,7 @@ protected:
|
|||
|
||||
private:
|
||||
void update_render_data();
|
||||
void render(int buffer_idx, int position_id = -1, int barycentric_id = -1);
|
||||
void render(int buffer_idx);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue