(gl, src)
| 19458 | } |
| 19459 | |
| 19460 | function createShader(gl, src) { |
| 19461 | var shader = createShaderWrapper(gl, src) |
| 19462 | var attr = shader.attributes |
| 19463 | attr.position.location = 0 |
| 19464 | attr.color.location = 1 |
| 19465 | attr.glyph.location = 2 |
| 19466 | attr.id.location = 3 |
| 19467 | return shader |
| 19468 | } |
| 19469 | |
| 19470 | exports.createPerspective = function(gl) { |
| 19471 | return createShader(gl, perspective) |
no outgoing calls
no test coverage detected
searching dependent graphs…