Sha256: 0f19d7902efb4ffb7f0628b438fbe3fc684c9e854f525c818ec59eb9608effeb
Contents?: true
Size: 732 Bytes
Versions: 11
Compression:
Stored size: 732 Bytes
Contents
attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute vec3 prevPosition3DHigh; attribute vec3 prevPosition3DLow; attribute vec3 nextPosition3DHigh; attribute vec3 nextPosition3DLow; attribute vec2 expandAndWidth; attribute vec4 color; varying vec4 v_color; void main() { float expandDir = expandAndWidth.x; float width = abs(expandAndWidth.y) + 0.5; bool usePrev = expandAndWidth.y < 0.0; vec4 p = czm_computePosition(); vec4 prev = czm_computePrevPosition(); vec4 next = czm_computeNextPosition(); v_color = color; vec4 positionWC = getPolylineWindowCoordinates(p, prev, next, expandDir, width, usePrev); gl_Position = czm_viewportOrthographic * positionWC; }
Version data entries
11 entries across 11 versions & 1 rubygems