Use named exports from ol/index.js

This commit is contained in:
Tim Schaub
2017-12-12 10:24:58 -07:00
parent fce644556b
commit 87295a74dd
250 changed files with 874 additions and 887 deletions
@@ -2,7 +2,7 @@
* @module ol/renderer/webgl/tilelayershader/Locations
*/
// This file is automatically generated, do not edit
import _ol_ from '../../../index.js';
import {DEBUG_WEBGL} from '../../../index.js';
/**
* @constructor
@@ -16,25 +16,25 @@ var _ol_renderer_webgl_tilelayershader_Locations_ = function(gl, program) {
* @type {WebGLUniformLocation}
*/
this.u_tileOffset = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_tileOffset' : 'd');
program, DEBUG_WEBGL ? 'u_tileOffset' : 'd');
/**
* @type {WebGLUniformLocation}
*/
this.u_texture = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_texture' : 'e');
program, DEBUG_WEBGL ? 'u_texture' : 'e');
/**
* @type {number}
*/
this.a_position = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_position' : 'b');
program, DEBUG_WEBGL ? 'a_position' : 'b');
/**
* @type {number}
*/
this.a_texCoord = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_texCoord' : 'c');
program, DEBUG_WEBGL ? 'a_texCoord' : 'c');
};
export default _ol_renderer_webgl_tilelayershader_Locations_;