;
                if (tempPositions.length > 0) {
                    const lastPointIndex = tempPositions.length / 3 - 1;
                    tempPositions[lastPointIndex * 3] = drawPoint[0];
                    tempPositions[lastPointIndex * 3 + 1] = drawPoint[1];
                    tempPositions[lastPointIndex * 3 + 2] = drawPoint[2];
                } else {
                    tempPositions = tempPositions.concat(drawPoint);
                    const mesh = new reshader.Mesh(currentGeometry);
        