istance') {
                    currentGeometry.desc.primitive = 'lines';
                    for (let i = 0; i < tempPositions.length; i++) {
                        drawingPositons[i] = tempPositions[i];
                    }
                    let elements = [];
                    for (let i = 0; i < drawingPositons.length / 3 - 1; i++) {
                        elements.push(i);
                        elements.push(i + 1);
                    }
                    currentGeometry.setElements(elements