1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

ENABLE_SPLITTED_VERTEX_BUFFER - small refactoring in GCodeViewer::load_toolpaths()

This commit is contained in:
enricoturri1966
2021-01-18 11:37:23 +01:00
parent 59cabc9712
commit 3a0aabb924
2 changed files with 51 additions and 60 deletions
+5 -2
View File
@@ -134,9 +134,12 @@ class GCodeViewer
{
struct Endpoint
{
// index of the index buffer
// index of the buffer in the multibuffer vector
// the buffer type may change:
// it is the vertex buffer while extracting vertices data,
// the index buffer while extracting indices data
unsigned int b_id{ 0 };
// index into the index buffer
// index into the buffer
size_t i_id{ 0 };
// move id
size_t s_id{ 0 };