vertexShader: lineVert()

in packages/synchro-charts/src/components/charts/sc-line-chart/lineMesh.ts [187:204]


    vertexShader: lineVert(showColor && thresholds.length > 0),
    fragmentShader: !showColor || thresholds.length === 0 ? lineFrag : lineColorationFrag,
    side: DoubleSide,
    transparent: true,
    uniforms: {
      width: {
        value: LINE_WIDTH,
      },
      xPixelDensity: {
        value: xPixelDensity,
      },
      yPixelDensity: {
        value: yPixelDensity,
      },
      thresholdBands: {
        value: thresholdBands(thresholds),
      },
    },