(gl, shaders)
| 14204 | } |
| 14205 | |
| 14206 | function createMeshShader(gl, shaders) { |
| 14207 | var shader = createShader(gl, |
| 14208 | shaders.meshShader.vertex, |
| 14209 | shaders.meshShader.fragment, |
| 14210 | null, |
| 14211 | shaders.meshShader.attributes |
| 14212 | ) |
| 14213 | |
| 14214 | shader.attributes.position.location = 0 |
| 14215 | shader.attributes.color.location = 2 |
| 14216 | shader.attributes.uv.location = 3 |
| 14217 | shader.attributes.vector.location = 4 |
| 14218 | return shader |
| 14219 | } |
| 14220 | |
| 14221 | |
| 14222 | function createPickShader(gl, shaders) { |
no test coverage detected
searching dependent graphs…