Remove unused code, get tests passing on Travis

This commit is contained in:
Tim Schaub
2017-12-11 16:19:03 -07:00
parent b0c0166e9b
commit 50737f7f73
34 changed files with 66 additions and 1913 deletions
+7 -6
View File
@@ -1,8 +1,7 @@
// This file is automatically generated, do not edit
goog.provide('{{namespace}}.Locations');
goog.require('ol');
// Run `make shaders` to generate, and commit the result.
import _ol_ from '../../../index.js';
/**
* @constructor
@@ -10,14 +9,14 @@ goog.require('ol');
* @param {WebGLProgram} program Program.
* @struct
*/
{{namespace}}.Locations = function(gl, program) {
{{namespace}}_Locations_ = function(gl, program) {
{{#uniforms}}
/**
* @type {WebGLUniformLocation}
*/
this.{{originalName}} = gl.getUniformLocation(
program, ol.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/uniforms}}
{{#attributes}}
@@ -25,6 +24,8 @@ goog.require('ol');
* @type {number}
*/
this.{{originalName}} = gl.getAttribLocation(
program, ol.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/attributes}}
};
export default {{namespace}}_Locations_;