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/render/webgl/polygonreplay/defaultshader/Locations
*/
// This file is automatically generated, do not edit
import _ol_ from '../../../../index.js';
import {DEBUG_WEBGL} from '../../../../index.js';
/**
* @constructor
@@ -16,37 +16,37 @@ var _ol_render_webgl_polygonreplay_defaultshader_Locations_ = function(gl, progr
* @type {WebGLUniformLocation}
*/
this.u_projectionMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_projectionMatrix' : 'b');
program, DEBUG_WEBGL ? 'u_projectionMatrix' : 'b');
/**
* @type {WebGLUniformLocation}
*/
this.u_offsetScaleMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_offsetScaleMatrix' : 'c');
program, DEBUG_WEBGL ? 'u_offsetScaleMatrix' : 'c');
/**
* @type {WebGLUniformLocation}
*/
this.u_offsetRotateMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_offsetRotateMatrix' : 'd');
program, DEBUG_WEBGL ? 'u_offsetRotateMatrix' : 'd');
/**
* @type {WebGLUniformLocation}
*/
this.u_color = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_color' : 'e');
program, DEBUG_WEBGL ? 'u_color' : 'e');
/**
* @type {WebGLUniformLocation}
*/
this.u_opacity = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_opacity' : 'f');
program, DEBUG_WEBGL ? 'u_opacity' : 'f');
/**
* @type {number}
*/
this.a_position = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_position' : 'a');
program, DEBUG_WEBGL ? 'a_position' : 'a');
};
export default _ol_render_webgl_polygonreplay_defaultshader_Locations_;