(x, y, w, h, whAreSizes)
| 1095 | }; |
| 1096 | |
| 1097 | var imageModeCenter = function imageModeCenter(x, y, w, h, whAreSizes) { |
| 1098 | return { |
| 1099 | x: x - w / 2, |
| 1100 | y: y - h / 2, |
| 1101 | w: w, |
| 1102 | h: h |
| 1103 | }; |
| 1104 | }; |
| 1105 | |
| 1106 | var createProgramObject = function(curContext, vetexShaderSource, fragmentShaderSource) { |
| 1107 | var vertexShaderObject = curContext.createShader(curContext.VERTEX_SHADER); |
nothing calls this directly
no outgoing calls
no test coverage detected