(gl, shaders)
| 14220 | |
| 14221 | |
| 14222 | function createPickShader(gl, shaders) { |
| 14223 | var shader = createShader(gl, |
| 14224 | shaders.pickShader.vertex, |
| 14225 | shaders.pickShader.fragment, |
| 14226 | null, |
| 14227 | shaders.pickShader.attributes |
| 14228 | ) |
| 14229 | |
| 14230 | shader.attributes.position.location = 0 |
| 14231 | shader.attributes.id.location = 1 |
| 14232 | shader.attributes.vector.location = 4 |
| 14233 | return shader |
| 14234 | } |
| 14235 | |
| 14236 | |
| 14237 | function createVectorMesh(gl, params, opts) { |
no test coverage detected
searching dependent graphs…